Thursday, March 3, 2011

How you script an FTP access ?

Do you wanna access FTP within a script ??? may be to copy an output file ?

Use below steps

ftp -s:up.txt
The following is a listing of the contents of the text file (UP.TXT).Sample


user
password
cd /web
pwd
ascii
put d:\abcd.csv
binary
put d:\xyz.csv
quit

No comments:

Post a Comment