FTP read error:

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
kumar444
Premium Member
Premium Member
Posts: 62
Joined: Wed Jan 12, 2011 10:01 am

FTP read error:

Post by kumar444 »

I am using URL path as below to read a CSV file from a remote location. Its throwing an error saying
Error occurred during initializeFromArgs().
<FTP_Enterprise_11> uri is having invalid syntax. Please help me to resolve this.

Code: Select all

ftp:\\usawuxc02\BA_Shared\INTRANET\UNIT TRACE\GAP DOWNLOADS\SIT-LITE.csv
-------------------------------------------
Kumar
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It might be the spaces in the pathname, as a test can you try again from a location that doesn't use the "long" filenames? Meaning, no directory longer than 8 characters.
-craig

"You can never have too many knives" -- Logan Nine Fingers
FranklinE
Premium Member
Premium Member
Posts: 739
Joined: Tue Nov 25, 2008 2:19 pm
Location: Malvern, PA

Post by FranklinE »

I have had that exact error because of spaces in the path names. Ever since I require all directory names to use underscores instead of spaces, regardless of platform. Problem has disappeared.
Franklin Evans
"Shared pain is lessened, shared joy increased. Thus do we refute entropy." -- Spider Robinson

Using mainframe data FAQ: viewtopic.php?t=143596 Using CFF FAQ: viewtopic.php?t=157872
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Or that. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply