是否有任何 FTP 程序可以自动将文件夹的内容发送到远程服务器?
是否有任何 FTP 程序可以自动将文件夹的内容复制(或更确切地说“移动”)到远程服务器?我当然已经用谷歌搜索过这个,但只找到了一两个看起来非常笨重且缺乏维护的古老产品。我想知道是否有办法从命令行执行此操作或对基本问题有更好的解决方案。
更详细地说,每隔几个小时就会将新文件写入文件夹。这些新文件需要通过 FTP 传输到其他地方,然后删除。镜像或同步系统可能不适用,因为我们需要在成功传输源文件后将其删除。
如果更容易,“解决方案”可以将文件从服务器上拉出(而不是服务器将它们推送到客户端)。两台计算机均采用 Windows 操作系统。
Are there any FTP programs which can automatically copy (or rather 'move') the contents of a folder to a remote server? I have of course googled this but only really found one or two ancient products which look really clunky and unmaintained. I was wondering if there's a way to do this from the command line or any better solution to the base problem.
In more detail, new files get written to a folder every few hours. These new files need to be FTP'd elsewhere and then deleted. Mirroring or synchonisation systems are probably out of the picture as we need to delete the source files once they've been successfully transferred.
If it's easier, the 'solution' could pull the files off the server (rather than the server pushing them to the client). The computers will both be Windows OS.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用任何支持命令行的现成 FTP 程序,并在 Windows Scheduler 上安排任务每 10 分钟运行一次。检查文件夹,并将所有文件移动到 FTP 站点。
You could use any off the shelf FTP program that supports command line and schedule a task on Windows Scheduler to run every 10 minutes. Check the folder, and move any files to the FTP site.
最后我使用了一个名为 FTP Auto Sync 的程序: http://ftp-auto-sync.com/< /a>
In the end I used a program called FTP Auto Sync: http://ftp-auto-sync.com/