有没有人在瞻博网络设备上成功使用过 FTP。阅读他们的文档,使用它的方法是:
file copy <source> <destination>
就我而言:
file copy /var/tmp/testdoc ftp://user:pass@hostname/user/home/
但我不断收到以下错误:
fetch: ftp://user:*@hostname/user/home/: File unavailable (e.g., file not found, no access)
error: put-file failed
error: could not send local copy of file
我知道该文件可用,它可以看到它,因为当我在命令中更改文件名(放入一个不存在的文件)时,它说不存在这样的文件或目录。
我也尝试过相反的方法(从服务器到路由器),但我得到error: file-fetch failed了。
这非常令人沮丧,因为没有关于此错误的文档。
编辑: FTP 位于瞻博网络路由器和 Linux 服务器之间。我还尝试深入到文件名本身:
file copy /var/tmp/testdoc.txt ftp://user:pass@hostname/user/home/testdoc.txt