Friday

Automated FTP File Transfer

Automated FTP File Transfer :

You can use a here document to script an FTP file transfer. The basic idea is shown here.


ftp -i -v -n wilma <<END_FTP
user randy mypassword
binary
lcd /scripts/download
cd /scripts
get auto_ftp_xfer.ksh
bye
END_FTP

No comments :

Post a Comment

Recent Comments