2013-06-12 233 views

回答

4

創建批處理文件

set winscp=C:\WinSCP\WinSCP.com 

echo option batch continue > script.tmp 

echo option confirm off >> script.tmp 

echo open ftp.example.com >> script.tmp 

echo synchronize remote C:\local\folder /home/remote/folder >> script.tmp 

echo exit >> script.tmp 

%winscp% /script=script.tmp 

del script.tmp 
相關問題