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

arrow
arrow
    全站熱搜

    Somebaby 發表在 痞客邦 留言(0) 人氣()