我有一个大文件,我正在使用curl下载:
curl -s https://raw.github.... | bash
如果我使用ctrl+z
暂停此作业,然后再说一遍fg %1
,该文件是否仍会正确下载?
谢谢, 本
答案 0 :(得分:1)
wget
背景&&继续下载可能有帮助
但它也取决于网络服务器的功能。其中一些不允许范围下载。
$ wget -b -c http://www.website.com/download/hello.txt
-b
--background
Go to background immediately after startup. If no output file is specified via the -o, output is redirected to wget-log.
-c
--continue
Continue getting a partially-downloaded file. This is useful when you want to finish up a download started by a previous instance of Wget, or by
another program.
答案 1 :(得分:0)
只要套接字没有超时,它就会出现!