The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
downloading through ftp moxxx68 UNIX for Advanced & Expert Users 6 12-05-2004 05:34 AM
Downloading whole directory with FTP Pokeyzx UNIX for Dummies Questions & Answers 4 11-19-2004 07:51 PM
Copying Folders without some folders... ;-) chimpu UNIX for Dummies Questions & Answers 5 04-26-2004 12:25 PM
Backing up Folders without some folders...;) chimpu Shell Programming and Scripting 1 04-26-2004 10:02 AM
Downloading eric_hing UNIX for Dummies Questions & Answers 1 09-05-2003 03:12 PM

Closed Thread
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
  #1 (permalink)  
Old 04-03-2003
eloquent99 eloquent99 is offline
Registered User
  
 

Join Date: Jun 2002
Posts: 37
downloading folders in ftp

can you download folders when in ftp or is the only way to download more then one file by mget??
  #2 (permalink)  
Old 04-03-2003
oombera's Avatar
oombera oombera is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2002
Location: Cleveland, OH
Posts: 804
On Windows, it's no problem to download entire directories even if they do not yet exist on the machine that will receive those directories.

However, Unix will not automatically create directories, so if you wish to download an entire directory and any subdirectories from another machine using ftp, mget is the command to use, but the machine you're downloading to must already have those same directories created. Probably a security thing...
  #3 (permalink)  
Old 04-03-2003
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
it depends on your client. with the standard ftp command line client you can download entire directories with the * wild card. eg
get /home/user/directory/*
  #4 (permalink)  
Old 04-03-2003
oombera's Avatar
oombera oombera is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2002
Location: Cleveland, OH
Posts: 804
That works for you?

When I try get /home/usr/directory/* I get directory/*: Bad directory components.

When I try get /usr/home/directory I get /usr/home/directory/: No such file or directory.
  #5 (permalink)  
Old 04-03-2003
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
you are right thatll teach me to post while half asleep....
1 demerit.
  #6 (permalink)  
Old 04-03-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,115
See this thread for some options.
  #7 (permalink)  
Old 04-23-2003
kapilv kapilv is offline
Registered User
  
 

Join Date: Nov 2000
Location: India
Posts: 83
Thumbs up

Instead of get /home/usr/directory/* use the mget /home/usr/directory/*. This mget command will ask you for a confirmation for every file to be downloaded to turn the confirmation off use prompt command.

Hope this helps
Closed Thread

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 03:09 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