我都试过了
wget --user=myuser --password=mypassword myfile
和
wget --ftp-user=myuser --ftp-password=mypassword myfile
但我不断收到错误
HTTP request sent, awaiting response... 401 Authorization Required
Authorization failed.
我知道文件在那里,而且我知道用户名/密码是正确的——我可以毫无问题地通过 ftp 进入。对这里发生的事情有任何想法吗?我什至如何判断是否wget
注意我提供的用户名/密码?(如果我只是不提供该信息,则错误是相同的。)