How to implement FTP upload of a folder with quite a few files under DOS
As the title says:
I have learned on our forum~~
Already achieved:
But in the C:\boyhong.mmp file:
I can achieve uploading one file.
But what if there is a folder with quite a few files?
Content of the C:\boyhong.mmp file:
The directory of the local folder is also a changing directory name generated by %data% every day
[ Last edited by HAT on 2009-1-4 at 23:26 ]
As the title says:
I have learned on our forum~~
Already achieved:
ftp.exe -s:C:\boyhong.mmpBut in the C:\boyhong.mmp file:
I can achieve uploading one file.
But what if there is a folder with quite a few files?
Content of the C:\boyhong.mmp file:
open ftpserver
user
key
cd remote FTP directory
lcd local directory
put local folder<<<<<-------How to handle this place, PUT is definitely not okay.
byeThe directory of the local folder is also a changing directory name generated by %data% every day
[ Last edited by HAT on 2009-1-4 at 23:26 ]
