wget 未找到现有文件(ftp)

wget 未找到现有文件(ftp)

我的服务器上有 proftpd。我不完全确定它的配置是否完美,但有些事情我无法理解:

$ LC_ALL=en ls -l useradd.LDAP.tar.gz
ls: cannot access 'useradd.LDAP.tar.gz': No such file or directory
$ lftp myserver
lftp myserver:~> get useradd.LDAP.tar.gz
1682 octets transférés
lftp myserver:~> pwd
ftp://myserver
lftp myserver:/> exit
$ LC_ALL=en ls -l useradd.LDAP.tar.gz
-rw-r--r-- 1 chris users 1682 Dec 17  2004 useradd.LDAP.tar.gz
$ LC_ALL=en wget ftp://myserver/useradd.LDAP.tar.gz
--2018-07-26 00:09:07--  ftp://myserver/useradd.LDAP.tar.gz
        => 'useradd.LDAP.tar.gz.1'
Resolving myserver... 192.168.0.102
Connecting to myserver|192.168.0.102|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD not needed.
==> SIZE useradd.LDAP.tar.gz ... done.

==> PASV ... done.    ==> RETR useradd.LDAP.tar.gz ... 
No such file 'useradd.LDAP.tar.gz'.

为什么 wget 无法下载?/var/log/proftpd/{proftpd.log,xfer.log} 中没有相关消息

相关内容