FTP上传文件错误
说明
使用 FTP 客户端上传文件到 FTP 服务器上,提示下面的错误
ftp> put C:\Users\10765\Desktop\1.png /home/xiaohe/新文件夹/
200 PORT command successful. Consider using PASV.
553 Could not create file.
其中,put 是上传文件命令,C:\Users\10765\Desktop\1.png
是客户端文件所在路径,/home/xiaohe/新文件夹/
是服务器路径,不知道为什么会上传不上去
解决
命令敲错了,不需指定上传到 ftp 服务器上的路径,因为敲 put
命令时,已经处于某个目录下,直接跟本地文件路径即可