Monday, September 22, 2008

Using a script to get files via FTP

(echo "user username password
binary
prompt
cd /where_the_file_is
mget $FILENAME
bye" | ftp -n $systemID)


where $systemID is the IP address of the system.

No comments:

Post a Comment