如何用命令行上傳/下載整個文件夾到ftp服務器?

"apt-get install lftp" or "apt-get install lftp-ssl", i compiled it myself from lftp.yar.ru

connect to your ftp and do:
mirror -R <the local dirname>

this will upload the whole directory.
 
首先,ftp命令是肯定不行的,必須用lftp。
上傳整個文件夾:mirror -R 本地文件夾
下載整個文件夾:mirror 遠端文件夾 本地文件夾
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章