The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 08-06-2001
Ganondorf Ganondorf is offline
Registered User
  
 

Join Date: Aug 2001
Location: Saint-Georges,QC,CAN
Posts: 4
Question Ftp mget command ?!?!?!? (code sample)

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
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0