FTP传文件

来源:互联网 发布:网络编辑是做啥的 编辑:程序博客网 时间:2024/06/05 19:13

先登录Putty.然后输入以下内容

//open  22 FTP 

 ftp 101.624.103.22

 //user name
 username
 //password
 123456
 //change location on 21 FTP 
 cd /Portal/BAT/Files/File_Transfer/test/Note
 //list files in  FTP 
 ls
 //change location in local
lcd /11/WC/jboss/webserver/jboss-ews/httpd/logs
 //list files in local
 !ls
 //send file from local to  FTP
 put 文件名
0 0
原创粉丝点击