怎么实现DOS下ftp上传一个有不少文件的文件夹
如题:
我在咱论坛经过学习~~
已做到:
ftp.exe -s:C:\boyhong.mmp
但在C:\boyhong.mmp这个文件里:
我可以实现上传一个文件来.
但要是有不少文件的文件夹呢?
C:\boyhong.mmp文件内容:
open ftpserver
user
key
cd 远程FTP目录
lcd 本地目录
put 本地文件夹<<<<<-------这个地方怎么搞,PUT是肯定不行.
bye
本地那个文件夹目录还是个每天%data%生成的变的目录名
Last edited by HAT on 2009-1-4 at 23:26 ]
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:
ftp.exe -s:C:\boyhong.mmp
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:
open ftpserver
user
key
cd remote FTP directory
lcd local directory
put local folder<<<<<-------How to handle this place, PUT is definitely not okay.
bye
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 ]