当我运行以下命令时:
wget --user=anonymous ftpes://x.x.x.x:x/FTP/image.bin.gz它返回不支持ftpes。
是否需要安装缺少的包以支持ftpes中的wget?
发布于 2020-04-03 09:31:23
从这个StackOverflow的答案获取的信息,OP已经确认了以下内容,只要wget版本为1.18或更高版本:
wget --secure-protocol=auto --no-proxy \
--no-passive-ftp --ftp-user=XXXXX --ftp-password=YYYYY \
--no-check-certificate ftps://ZZZZZZZZ.com:21或相当于curl的:
curl ftp://myuser:mypassword@x.x.x.x:x/FTP/image.bin.gz -k \
--ftp-ssl --output image.bin.gz发布于 2020-04-03 10:26:36
@Jos :是的,这很管用!
wget --secure-protocol=auto --no-proxy --no-passive-ftp --ftp-user=myuser --ftp-password=mypassword --no-check-certificate ftps://x.x.x.x:x/FTP/image.bin.gz或卷曲:
curl ftp://myuser:mypassword@x.x.x.x:x/FTP/image.bin.gz -k --ftp-ssl --output image.bin.gzhttps://askubuntu.com/questions/1223711
复制相似问题