ftp 连接后,可以cd 到目标目录get 文件,但使用get /path/file 时报错, local. /path/file 不存在
原因是ftp的get语法为
Syntax: get remote-file [local-file]
Parameter(s):
remote-file - Specifies the remote file to copy.
local-file - Specifies the name to use on the local computer. If not specified, the file is given the remote-file name.