首页 > 其他 > 详细

zip&ftp命令

时间:2014-07-13 09:48:16      阅读:602      评论:0      收藏:0      [点我收藏+]
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命令

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!