Page 1 of 1

FTP read error:

Posted: Tue Oct 02, 2012 5:25 pm
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

Posted: Tue Oct 02, 2012 5:30 pm
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.

Posted: Wed Oct 03, 2012 2:07 pm
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.

Posted: Wed Oct 03, 2012 2:49 pm
by chulett
Or that. :wink: