ftp传输rsync方式
我经常从 ftp 服务器下载日志文件(顺便说一句,我无法控制它),而且每次都下载整个文件似乎很麻烦。
所以我正在寻找一个程序(linux-ish)或Perl模块,它以某种方式结合了ftp和rsync,并且只“更新”文件。
日志文件不断增长。
周围有类似的吗?
I'm downloading a logfile quite often from a ftp-server (which I'm not in control over, btw), and it seems rather rediciolus to download the whole file every time.
So I'm looking for a program (linux-ish) or Perl module that in a way combines ftp and rsync, and only "updates" the file.
The logfile is constantly growing.
Anything like that around?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
“恢复下载”不适用于您的情况吗?
假设您上次的传输被中止,然后从停止的地方重新开始下载
Wouldn't "resume download" work for your case?
Just pretend your transfer was aborted last time and restart downloading from where you stop
正如如何通过 FTP 使用 rsync 中所述,lftp 有镜像模式,同步效率远高于curftpfs+rsync
As said in How to use rsync over FTP, lftp has a mirror mode that makes syncing far more efficient than curlftpfs+rsync