centos ftp

DOS命令大全:FTP:put命令详解
使用当前文件传送类型将本地文件复制到远程计算机上。

MS-DOS命令语法

put LocalFile [RemoteFile]

MS-DOS命令参数

LocalFile
指定要复制的本地文件。
RemoteFile
指定要在远程计算机上使用的名称。
? put
显示 put 命令的帮助。
MS-DOS命令注释

如果没有指定 RemoteFile,文件就会赋以 LocalFile 名。

如果用的是put filepath+filename 的话,则文件会被上传到./opt/test_ftp/blog.war。
如果用的是put filepath+filename desnitationpath+filename的话,我没配置好553 Could not create file.

posted @ 2016-12-09 15:29  StevenLuke  阅读(96)  评论(0编辑  收藏  举报