如何在任何时候恢复ftp下载? (shell脚本,wget选项)? [英] How to resume an ftp download at any point? (shell script, wget option)?

查看:146
本文介绍了如何在任何时候恢复ftp下载? (shell脚本,wget选项)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从ftp服务器下载一个大小为50-100MB的大文件。在每一点上,我想能够设置开始点和我想要的块的长度。我不会让先前的块保存在本地(即我不能让程序恢复下载)。



最好的方法是什么?我主要使用wget,但会更好吗?






您好!我对预编译/ inbuild函数非常感兴趣,而不是为此使用库...因为wget / ftp(也是,我认为)允许恢复下载,我不知道这是否会成为问题...(我不知道从所有的选项,虽然!)






hi noinfection - 我看了看,那不会工作。 ..我不想保留整个庞大的文件在我的最后,只是处理它块... fyi所有 - 我看看继续FTP下载afther重新连接这似乎很有趣..

我建议使用您选择的语言与 libcurl 进行交互。


i want to download a huge file from an ftp server in chunks of 50-100MB each. At each point, i want to be able to set the "starting" point and the length of the chunk i want. i wont have the "previous" chunks saved locally (ie i cant ask the program to "resume" the downlaod).

what is the best way of going about that? i use wget mostly, but would something else be better?


hi there! i'm really interested in a prebuilt/inbuild function rather than using a library for this purpose... since wget/ftp (also, i think) allow resumption of downloads, i dont see if that would be problem... (i cant figure out from all the options though!)


hi noinfection - i had a look at that and that wouldnt work... i dont want to keep the entire huge file at my end, just process it in chunks... fyi all - i'm having a look at continue FTP download afther reconnect which seems interesting..

解决方案

I'd recommend interfacing with libcurl from the language of your choice.

这篇关于如何在任何时候恢复ftp下载? (shell脚本,wget选项)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆