[thelist] batch FTP

Brian Cummiskey Brian at hondaswap.com
Tue May 1 11:16:45 CDT 2007

I'm having a small issue with and FTP process after a DTS runs.  I have 
a simple BAT file that runs and ftp's up the csv.

The problem is its running in binary mode instead of ascii, so the other 
party is having a hard time getting the clean file.  Anyone have a 
simple command i can throw in?
I'm assuming the "echo bin" line is the problem...  but i don't know its 
ascii equivalent.

current batch:

del "D:\folder\Extract.log"
echo Open ftpsite.com>> "D:\folder\Extract.log""
echo username >> "D:\folder\Extract.log""
echo password >> "D:\folder\Extract.log""
echo bin>> "D:\folder\Extract.log""
echo put "D:\folder\output.txt" >> "D:\folder\Extract.log""
echo quit >> "D:\folder\Extract.log""
ftp -s:"D:\folder\Extract.log"

More information about the thelist mailing list