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.