当我运行以下命令时:
wget --user=anonymous ftpes://x.x.x.x:x/FTP/image.bin.gz
它返回不支持ftpes
。
是否需要安装缺少的包以支持ftpes
中的wget
?
发布于 2020-04-03 01: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 02: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.gz
https://askubuntu.com/questions/1223711
复制