ftp无法使用绝对路径来get,相对路径可以
使用绝对路径来get就会出现路径错误,没有该文件,
报错信息:
local: ./xx/xx.txt remote: /xx/xx.txt
local: ./xx/xx.txt: No such file or directory
ftp无法使用绝对路径来get,相对路径可以
使用绝对路径来get就会出现路径错误,没有该文件,
报错信息:
local: ./xx/xx.txt remote: /xx/xx.txt
local: ./xx/xx.txt: No such file or directory
是使用命令行的方式吧?需要进入到对应的目录,然后执行get、mget,前者单个文件,后者多个文件。
ftp中进入远程目录:cd /xx
ftp中进入本地目录:lcd /xx