码迷,mamicode.com
首页 > 其他好文 > 详细

zip&ftp命令

时间:2014-07-13 09:48:34      阅读:163      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   os   art   for   

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.

 

zip&ftp命令,布布扣,bubuko.com

zip&ftp命令

标签:style   blog   color   os   art   for   

原文地址:http://www.cnblogs.com/cici-new/p/3837930.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!