Linux « PCから煙が!!!! | HOME | Crontab »
■ FTP - Automatic execution
If you would like to execute FTP automatically, normally create .netrc file. But "FTP -n" is easier than using ".netrc".
Create FTP command file
# nano file
open ftp.exmple.com
user hegehge password
bin
prompt
cd directory
get sample1.zip
put sample2.zip
quit
Execute FTP with command file
# ftp -n < file
For Windows batch file
Indicate like below in bach file
ftp -s:file -i
投稿者 tomopugh : 2007年03月12日 11:43

