![](/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.