Welcome 微信登录

首页 / 操作系统 / Linux / Linux下FTP命令

ftp命令使用Sample
-bash-3.00$ ftp rws60001rems.us.Oracle.com(连接另外一台主机)
Connected to rws60001rems.us.oracle.com (139.185.21.141).
220 (vsFTPd 1.2.1)
Name (rws60001rems.us.oracle.com:app7740): xxxxx
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (139,185,21,141,216,189)
150 Here comes the directory listing.
-rw-r--r--    1 60202384 60402384      524 Aug 08 00:37 temp1.out

226 Directory send OK.
ftp> pwd(ftp命令下也可以执行普通的linux命令,pwd,ls,cd...)
257 "/slot/ems2384/appmgr"
ftp> ls temp1*
227 Entering Passive Mode (139,185,21,141,178,113)
150 Here comes the directory listing.
-rw-r--r--    1 60202384 60402384      524 Aug 08 00:37 temp1.out
226 Directory send OK.
ftp> get temp1.out(从另一台主机往本地下载文件)
local: temp1.out remote: temp1.out
227 Entering Passive Mode (139,185,21,141,126,148)
150 Opening BINARY mode data connection for temp1.out (524 bytes).
226 File send OK.
524 bytes received in 0.0017 secs (3e+02 Kbytes/sec)
ftp> put INVLTENT.plx_bk(从本机往另外一台主机上传文件)
local: INVLTENT.plx_bk remote: INVLTENT.plx_bk
227 Entering Passive Mode (139,185,21,141,109,145)
150 FILE: INVLTENT.plx_bk.1
226 File receive OK.
331776 bytes sent in 0.00457 secs (7.1e+04 Kbytes/sec)
ftp> bye(退出)
221 Goodbye.
  • 1
  • 2
  • 下一页
Windows下Android 开发环境搭建secureCRT Vi高亮相关资讯      Linux命令  FTP命令 
  • 48 字节命令可令 Linux 系统当机!  (今 07:55)
  • 在Linux笔记本上执行这句命令能致  (02月02日)
  • .NET开发必会的Linux命令  (12/20/2015 10:32:03)
  • 运维工程师必会的109个Linux命令  (03月09日)
  • 有趣的Linux命令行:随机输出唐诗  (12/28/2015 20:14:23)
  • 10 个 Linux 中的 passwd 命令示例  (10/29/2015 10:14:30)
本文评论 查看全部评论 (0)
表情: 姓名: 字数

版权所有©石家庄振强科技有限公司2024 冀ICP备08103738号-5 网站地图