![](/img/trans.png)
[英]How to upload entire directory to artifactory in Linux using curl or any shell script or any commandline utility in Linux?
[英]How to use linux shell command to upload entire directory to ftp server?
我正在為Android編寫持續集成腳本,一旦構建任務完成,我想使用Shell腳本將整個輸出目錄上載到ftp服務器。
我想知道是否有像ftp或curl這樣的shell命令可以做到這一點,我在Google上搜索了很多,但沒有找到。 誰能幫我一個忙? 非常感謝。
看起來像lftp
的工作,像這樣:
lftp -u login,passwd -e "mirror --reverse /my/from/dir/ /ftp/target/dir/" <ftp.server>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.