ftp从linux服务器传输,linux – 使用WGET从FTP服务器传输文件的问题

你有额外的.在命令行的末尾. wget与cp不同,不占用目标目录.因此,在从FTP服务器下载所有文件后,它会尝试从服务器下载文件(使用HTTP).

对于-nc,记录的是做一些不同于你期望的事情:

When running Wget without -N,-nc,or -r,downloading the same file

in the same directory will result in the original copy of file

being preserved and the second copy being named file.1. If that

file is downloaded yet again,the third copy will be named file.2,and so on. When -nc is specified,this behavior is suppressed,and

Wget will refuse to download newer copies of file. Therefore,‘‘"no-clobber"’’ is actually a misnomer in this mode---it’s not

clobbering that’s prevented (as the numeric suffixes were already

preventing clobbering),but rather the multiple version saving

that’s prevented.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值