zip&ftp命令

zip:
C:\Users\IBM_ADMIN>zip -09r Oracle.zip ./Oracle/*
C:\Users\IBM_ADMIN>ftp
ftp> open adminib-37a5itp
Connected to ADMINIB-37A5ITP.
220 Microsoft FTP Service
User (ADMINIB-37A5ITP:(none)): ibm
331 Password required for ibm.
Password:
230 User logged in.
ftp> dir
200 EPRT command successful.
125 Data connection already open; Transfer starting.
07-10-14  05:48PM       <DIR>          Cattail
07-10-14  05:48PM       <DIR>          Satheesh Chandran Chandramohan
226 Transfer complete.
ftp: 119 bytes received in 0.00Seconds 39.67Kbytes/sec.
ftp>

--upload local zip file to remote server.
<the local file is under the current direct folder>
ftp> put
Local file Oracle.zip
Remote file Oracle.zip
200 PORT command successful.
125 Data connection already open; Transfer starting.
226 Transfer complete.
ftp: 822974 bytes sent in 0.07Seconds 12283.19Kbytes/sec.
ftp>dir
--then could be found in local place

ftp> put
Local file Oracle.zip
Remote file Oracle.zip
200 PORT command successful.
125 Data connection already open; Transfer starting.
226 Transfer complete.
ftp: 822974 bytes sent in 0.07Seconds 12283.19Kbytes/sec.
ftp>

--
550-Access is denied.
 Win32 error:   Access is denied.
 Error details: Authorization rules denied the access.
550 End
--
auth setting:

sharing tab:
    share button:
        set ibm as owner
    Advanced Sharing:
        permissions:
            give everyone full control permission

then we could put zip files to dedicate location:

ftp> put
Local file Oracle.zip
Remote file Oracle.zip
200 PORT command successful.
125 Data connection already open; Transfer starting.
226 Transfer complete.
ftp: 822974 bytes sent in 0.11Seconds 7481.58Kbytes/sec.

 

转载于:https://www.cnblogs.com/cici-new/p/3837930.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值