|
我的parker安装正常,且也能搜到东西,但为什么有的FTP它搜不到东西?我在etc/Parker_Hosts加入了肯定存在并支持匿名的几个FTP,执行bin/NewDate后,从屏幕的回显来看,有的能搜到东西,有的又不能, 请教是怎么回事?下面是一个正常的匿名FTP,NewDate数据更新时显示的结果,
Starting 172.16.8.180
--- Probe
220 mmserver Microsoft FTP Service (Version 5.0).
331 Anonymous access allowed, send identity (e-mail name) as password.
230-cvcv
230 Anonymous user logged in.
257 "/" is current directory.
--- Logged in
250 CWD command successful.
257 "/" is current directory.
200 PORT command successful.
200 Type set to I.
550 ls-lR.gz: The system cannot find the file specified.
250 CWD command successful.
257 "/" is current directory.
200 PORT command successful.
200 Type set to I.
550 ls-lR.Z: The system cannot find the file specified.
250 CWD command successful.
257 "/" is current directory.
200 PORT command successful.
200 Type set to I.
550 ls-lR: The system cannot find the file specified.
550 /pub: The system cannot find the file specified.
550 /pub: The system cannot find the file specified.
550 /pub: The system cannot find the file specified.
--- Giving up remote ls-lR files...
250 CWD command successful.
257 "/" is current directory.
200 PORT command successful.
150 Opening BINARY mode data connection for /bin/ls.
--- Done with fetching the directory
226 Transfer complete.
172.16.8.180:/ Recursive LIST -lR
/bin/awk 'BEGIN {print "//";} NF==1 { sub(":","/",$1); ADRESAR=$1; }; NF>=7 && $1 ~ /^-/ { print ROOT "/" ADRESAR $NF " " $(NF-4) " " $(NF-3) "_" $(NF-2) "_" $(NF-1);} NF>=7 && $1 ~ /^d/ && $NF !~ /^\..*$/ { print ROOT "/" ADRESAR $NF "/ " $(NF-4) " " $(NF-3) "_" $(NF-2) "_" $(NF-1);}' ROOT='/' ADRESAR= /home/parker/tmp/Dir2G8mUUk | sed -e 's/^.:\//\//' -e 's/\\/\//g' -e 's/\/\//\//g' -e 's/\/.\//\//g' -e 's/^\/\//\//' | /bin/sort -u | /bin/gzip > /home/parker/tmp/Res2UI1nDV
--- Done DoAwk
--- Done with DoRec
--- Done with Probe
我看到这几行是正常FTP没有的
550 ls-lR: The system cannot find the file specified.
550 /pub: The system cannot find the file specified.
550 /pub: The system cannot find the file specified.
550 /pub: The system cannot find the file specified
但我用ftp命令登陆到这个FTP,可以执行ls -lR,且可以正常返回文件清单 |
|