Bat file
<<test_ftp.bat>>==content==
date /T>>%date:~0,4%%date:~5,2%%date:~8,2%.log
time /T>>%date:~0,4%%date:~5,2%%date:~8,2%.log
ftp -n -s:ftpscript.txt>>%date:~0,4%%date:~5,2%%date:~8,2%.log
date /T>>%date:~0,4%%date:~5,2%%date:~8,2%.log
time /T>>%date:~0,4%%date:~5,2%%date:~8,2%.log
<<ftpscript.txt>> ==content==
open 192.168.xx.xx
user
username
password
cd unixfolder/xx/
put "filename.csv"
quit
全站熱搜