FTP 命令"get *.txt"错误"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

It will work fine.

每个教程都使用*作为通配符,但为什么它不适合我。

ftp.exe中的get命令不支持通配符。

您必须使用mget命令:

mget *.txt

最新更新