![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java api/sample code for sftp | JohnRodey | SUN Solaris | 2 | 4 Weeks Ago 01:28 PM |
| Sample Code: WikiSampleThemeWithCSS | iBot | UNIX and Linux RSS News | 0 | 06-03-2008 10:20 PM |
| mget command | scorpio | Shell Programming and Scripting | 4 | 04-30-2008 02:00 AM |
| Is there a limit to mget command? | Raynon | Shell Programming and Scripting | 0 | 09-10-2007 03:24 AM |
| mget (ftp command) | Ganondorf | UNIX for Dummies Questions & Answers | 2 | 08-03-2001 05:01 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hey,
Look at the code below and tell me why part 1 doesnt download the file considering part 2 does. Hope you guys can help me. Thanks P.S. dont be full by the uglyness of the code, it really is just 2 ftp command each.... ftp> lcd /tmp/email/zip/ Local directory now /tmp/email/zip ftp> mget /tmp/email/body/*.* local: /tmp/email/body/bob.tar remote: /tmp/email/body/bob.tar 200 PORT command successful. 150 Opening BINARY mode data connection for /tmp/email/body/bob.tar (10240 bytes ). 226 Transfer complete. 10240 bytes received in 0.17 seconds (59.32 Kbytes/s) local: /tmp/email/body/dfbody.txt remote: /tmp/email/body/dfbody.txt /tmp/email/body/dfbody.txt: Not owner local: /tmp/email/body/disclaimer.txt remote: /tmp/email/body/disclaimer.txt /tmp/email/body/disclaimer.txt: Not owner local: /tmp/email/body/sendmail.txt remote: /tmp/email/body/sendmail.txt /tmp/email/body/sendmail.txt: Not owner ftp> cd /tmp/email/body/ 250 CWD command successful. ftp> mget *.* local: bob.tar remote: bob.tar 200 PORT command successful. 150 Opening BINARY mode data connection for bob.tar (10240 bytes). 226 Transfer complete. 10240 bytes received in 0.16 seconds (60.63 Kbytes/s) local: dfbody.txt remote: dfbody.txt 200 PORT command successful. 150 Opening BINARY mode data connection for dfbody.txt (351 bytes). 226 Transfer complete. 351 bytes received in 0.00 seconds (1102.17 Kbytes/s) local: disclaimer.txt remote: disclaimer.txt 200 PORT command successful. 150 Opening BINARY mode data connection for disclaimer.txt (795 bytes). 226 Transfer complete. 795 bytes received in 0.00 seconds (2705.11 Kbytes/s) local: sendmail.txt remote: sendmail.txt 200 PORT command successful. 150 Opening BINARY mode data connection for sendmail.txt (1345 bytes). 226 Transfer complete. 1345 bytes received in 0.00 seconds (4306.48 Kbytes/s) |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|