tex*_*ext 5 ftp scripting cron automation
是否可以使用CRON通过FTP上传文件?如果是,我如何调用FTP来运行上传?
Jay*_*gor 7
假设一个类UNIX操作系统,您可以设置一个指向shell脚本的cron作业,如下所示:
#!/bin/sh cd [source directory] ftp -n [destination host]<<END user [user] [password] put [source file] quit END
根据您的ftp客户端默认值和源文件类型,您可能需要在binary之前指定put.
binary
put
归档时间:
16 年,4 月 前
查看次数:
15067 次
最近记录: