首页 > 代码库 > zip&ftp命令

zip&ftp命令

zip:C:\Users\IBM_ADMIN>zip -09r Oracle.zip ./Oracle/*
C:\Users\IBM_ADMIN>ftpftp> open adminib-37a5itpConnected to ADMINIB-37A5ITP.220 Microsoft FTP ServiceUser (ADMINIB-37A5ITP:(none)): ibm331 Password required for ibm.Password:230 User logged in.ftp> dir200 EPRT command successful.125 Data connection already open; Transfer starting.07-10-14  05:48PM       <DIR>          Cattail07-10-14  05:48PM       <DIR>          Satheesh Chandran Chandramohan226 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> putLocal file Oracle.zipRemote file Oracle.zip200 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 placeftp> putLocal file Oracle.zipRemote file Oracle.zip200 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 permissionthen we could put zip files to dedicate location:ftp> putLocal file Oracle.zipRemote file Oracle.zip200 PORT command successful.125 Data connection already open; Transfer starting.226 Transfer complete.ftp: 822974 bytes sent in 0.11Seconds 7481.58Kbytes/sec.