ftp 上传文件



Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>ftp
ftp> open 173.1.3.87
连接到 173.1.3.87。
220 wmstest FTP server (Version 4.2 Wed Oct 1 09:40:05 CDT 2008) ready.
用户(173.1.3.87:(none)): root
331 Password required for root.
密码:
230-Last unsuccessful login: Thu Sep 11 11:06:54 GMT+08:00 2014 on /dev/pts/0 fr
om 173.5.206.107
230-Last login: Fri Sep 19 14:37:54 GMT+08:00 2014 on ftp from ::ffff:173.5.206.
185
230 User root logged in.
ftp> open 173.1.3.87
已经连接到了 173.1.3.87,请首先使用断开连接。
ftp> exit
无效命令。
ftp> !
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>ftp
ftp> open 173.1.3.87
连接到 173.1.3.87。
220 wmstest FTP server (Version 4.2 Wed Oct 1 09:40:05 CDT 2008) ready.
用户(173.1.3.87:(none)): root
331 Password required for root.
密码:
230-Last unsuccessful login: Thu Sep 11 11:06:54 GMT+08:00 2014 on /dev/pts/0 fr
om 173.5.206.107
230-Last login: Fri Sep 19 14:47:44 GMT+08:00 2014 on ftp from ::ffff:173.5.206.
185
230 User root logged in.
ftp> dir
200 PORT command successful.
150 Opening data connection for /bin/ls.
total 531304
-rw-------    1 root     system           71 Oct 21 2013  .TTauthority
-rw-------    1 root     system           54 Oct 21 2013  .Xauthority
drwxr-xr-x   10 root     system         4096 Oct 21 2013  .dt
-rwxr-xr-x    1 root     system         3970 Oct 21 2013  .dtprofile
drwxr-xr-x    3 root     system          256 Oct 21 2013  .java
-rw-------    1 root     system         5712 Sep 19 14:19 .sh_history
-rw-------    1 root     system           95 Apr 23 22:28 .vi_history
-rw-rw-r--    1 root     system            3 Oct 21 2013  .wmrc
drwxr-xr-x    2 root     system         4096 Oct 21 2013  TT_DB
drwxr-xr-x    4 root     system          256 Oct 21 2013  admin
drwxr-x---    2 root     audit           256 Nov 08 2013  audit
lrwxrwxrwx    1 bin      bin               8 Oct 21 2013  bin -> /usr/bin
-rw-r--r--    1 root     system            0 Oct 21 2013  configassist.log
-rw-------    1 root     system    271162655 Aug 06 00:01 core
drwxrwxr-x    5 root     system         8192 Sep 18 15:00 dev
drwxr-xr-x   16 esaadmin system         4096 Oct 21 2013  esa
drwxr-xr-x   33 root     system         8192 Jun 20 15:54 etc
drwxr-xr-x    6 bin      bin             256 Oct 24 2013  home
lrwxrwxrwx    1 bin      bin               8 Oct 21 2013  lib -> /usr/lib
drwx------    2 root     system          256 Oct 21 2013  lost+found
drwxr-xr-x  149 bin      bin            8192 Dec 25 2013  lpp
drwxr-xr-x    2 bin      bin             256 Nov 08 2013  mnt
drwxr-xr-x   19 root     system         4096 Dec 12 2013  opt
drwxrwxrwx   12 oracle   oinstall       4096 Sep 19 14:16 oracle
drwxr-xr-x    3 root     system          256 Nov 05 2013  oradiag_root
dr-xr-xr-x    1 root     system            0 Sep 19 14:48 proc
drwxr-xr-x    3 bin      bin             256 Oct 21 2013  sbin
-rw-r--r--    1 root     system       611132 Aug 04 14:31 smit.log
-rw-r--r--    1 root     system        68189 Aug 04 14:21 smit.script
-rw-r--r--    1 root     system        78201 Aug 04 14:21 smit.transaction
drwxrwxr-x    2 root     system          256 Oct 21 2013  tftpboot
drwxrwxrwt   39 bin      bin            4096 Sep 19 14:45 tmp
lrwxrwxrwx    1 bin      bin               5 Oct 21 2013  u -> /home
lrwxrwxrwx    1 root     system           21 Oct 21 2013  unix -> /usr/lib/boot/
unix_64
drwxr-xr-x   44 bin      bin            4096 Dec 12 2013  usr
drwxr-xr-x   32 bin      bin            4096 Dec 12 2013  var
-rw-r--r--    1 root     system         1377 Oct 21 2013  websm.script
226 Transfer complete.
ftp: 收到 2528 字节,用时 0.20秒 12.58千字节/秒。
ftp> cd /oracle
250 CWD command successful.
ftp> cd wmprod
250 CWD command successful.
ftp> ls -l
200 PORT command successful.
150 Opening data connection for /bin/ls.
total 7333192
-rw-r-----    1 root     system   3754587572 Sep 19 14:49 wmprod.dmp
226 Transfer complete.
ftp: 收到 85 字节,用时 0.02秒 5.00千字节/秒。
ftp> cd /oralce
550 /oralce: A file or directory in the path name does not exist.
ftp> pwd
257 "/oracle/wmprod" is current directory.
ftp> cd ..
250 CWD command successful.
ftp> ls -l
200 PORT command successful.
150 Opening data connection for /bin/ls.
total 6764352
-rw-r--r--    1 root     system    945752093 Feb 13 2014  WM2009.1AIX.zip
drwxr-xr-x    4 oracle   oinstall        256 Sep 11 15:19 admin
-rw-r-----    1 root     system    650295373 Sep 11 14:19 aix.ppc64_11gR1_databa
se_1013_1of2.zip
-rw-r-----    1 root     system   1867275926 Sep 11 14:20 aix.ppc64_11gR1_databa
se_1013_2of2.zip
drwxr-xr-x    4 oracle   oinstall        256 Sep 11 15:13 cfgtoollogs
drwxrwxr-x   11 oracle   oinstall       4096 Sep 11 15:13 diag
drwxr-xr-x    3 oracle   oinstall        256 Sep 11 14:22 install
drwxrwx---    7 oracle   oinstall       4096 Sep 11 15:13 oraInventory
drwxr-xr-x    3 oracle   oinstall        256 Sep 11 15:55 oradata
drwxrwx---    4 oracle   oinstall        256 Sep 11 14:43 product
drwxr-xr-x    3 oracle   oinstall        256 May 14 15:40 soft
drwxr-xr-x    3 oracle   oinstall        256 Sep 11 14:54 source
drwxr-xr-x    2 root     system          256 Sep 19 14:37 wmprod
226 Transfer complete.
ftp: 收到 955 字节,用时 0.02秒 50.26千字节/秒。
ftp> mkdir wmprod1
257 MKD command successful.
ftp> cd wmprod1
250 CWD command successful.
ftp> pwd
257 "/oracle/wmprod1" is current directory.
ftp> !dir
 驱动器 C 中的卷没有标签。
 卷的序列号是 0003-4479

 C:\Users\Administrator 的目录

2014/06/09  08:59    <DIR>          .
2014/06/09  08:59    <DIR>          ..
2014/06/09  08:59    <DIR>          .android
2014/08/14  09:09    <DIR>          Contacts
2014/09/18  16:59    <DIR>          Desktop
2014/08/14  09:09    <DIR>          Documents
2014/09/17  16:29    <DIR>          Downloads
2014/09/18  16:42    <DIR>          Favorites
2014/05/05  11:23    <DIR>          Lenovo
2014/08/14  09:09    <DIR>          Links
2014/08/14  09:09    <DIR>          Music
2014/09/11  13:25    <DIR>          Pictures
2014/08/14  09:09    <DIR>          Saved Games
2014/08/14  09:09    <DIR>          Searches
2014/08/14  09:09    <DIR>          Videos
               0 个文件              0 字节
              15 个目录 36,236,529,664 可用字节
ftp> !cd Desktop
ftp> ls -l
200 PORT command successful.
150 Opening data connection for /bin/ls.
total 0
226 Transfer complete.
ftp: 收到 9 字节,用时 0.00秒 9.00千字节/秒。
ftp> !dir
 驱动器 C 中的卷没有标签。
 卷的序列号是 0003-4479

 C:\Users\Administrator 的目录

2014/06/09  08:59    <DIR>          .
2014/06/09  08:59    <DIR>          ..
2014/06/09  08:59    <DIR>          .android
2014/08/14  09:09    <DIR>          Contacts
2014/09/18  16:59    <DIR>          Desktop
2014/08/14  09:09    <DIR>          Documents
2014/09/17  16:29    <DIR>          Downloads
2014/09/18  16:42    <DIR>          Favorites
2014/05/05  11:23    <DIR>          Lenovo
2014/08/14  09:09    <DIR>          Links
2014/08/14  09:09    <DIR>          Music
2014/09/11  13:25    <DIR>          Pictures
2014/08/14  09:09    <DIR>          Saved Games
2014/08/14  09:09    <DIR>          Searches
2014/08/14  09:09    <DIR>          Videos
               0 个文件              0 字节
              15 个目录 36,236,546,048 可用字节
ftp> pwd
257 "/oracle/wmprod1" is current directory.
ftp> lcd E:\
目前的本地目录 E:\。
ftp> put wmprod.dmp
200 PORT command successful.
150 Opening data connection for wmprod.dmp.
226 Transfer complete.
ftp: 发送 13194248192 字节,用时 1454.95秒 9068.53千字节/秒。
ftp> put export.log
200 PORT command successful.
150 Opening data connection for export.log.
226 Transfer complete.
ftp: 发送 91377 字节,用时 0.20秒 447.93千字节/秒。
ftp> cd /oracle
250 CWD command successful.
ftp> cd wmprod
250 CWD command successful.
ftp> pwd
257 "/oracle/wmprod" is current directory.
ftp> put wmprod.dmp
200 PORT command successful.
150 Opening data connection for wmprod.dmp.
226 Transfer complete.
ftp: 发送 13194248192 字节,用时 1360.14秒 9700.66千字节/秒。
ftp>



1、FTP://用户名@密码:ftp地址
2、ftp://ftp地址,然后输入用户名和密码


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值