FTP 命令 "get *.txt" 错误“550 找不到文件”
FTP command "get *.txt" error "550 File not Found"
当我尝试通过 FTP 使用批处理文件下载文件时出现了我的问题。
OPEN 192.168.0.1
test
password
lcd Download-dir
cd /filedir
BINARY
get *.txt
在他尝试找到文件之前一切正常。那一刻他打电话给
Error 550 File not Found.
当我尝试用
做同样的事情时
get Test.txt
它将正常工作。
每个教程都使用 *
作为通配符,但为什么它对我不起作用。
感谢您的帮助。
ftp.exe
中的get
command不支持通配符
您必须使用 mget
command:
mget *.txt
当我尝试通过 FTP 使用批处理文件下载文件时出现了我的问题。
OPEN 192.168.0.1
test
password
lcd Download-dir
cd /filedir
BINARY
get *.txt
在他尝试找到文件之前一切正常。那一刻他打电话给
Error 550 File not Found.
当我尝试用
做同样的事情时get Test.txt
它将正常工作。
每个教程都使用 *
作为通配符,但为什么它对我不起作用。
感谢您的帮助。
ftp.exe
中的get
command不支持通配符
您必须使用 mget
command:
mget *.txt