FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old February 2nd, 2004, 05:15 PM
s_italy s_italy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 30 s_italy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 44 m 49 sec
Reputation Power: 5
How to ftp mget a directory with all subdirectories?

I was trying to find an effective way to download a set of files/folders from ftp using shell script... It's hard to beleive that the only way you can download a directory with all subdirectories is to open each subdir individually and then use MGET * for downloading files. What if the set of dir/subdirs always change? Change the script every time?

Is there a way or routine everyone uses to solve this problem? Maybe FOREACH T (`ls -x`) may help?

I am a new in unix programming. Any comments are apreciated. Thanks

Reply With Quote
  #2  
Old February 2nd, 2004, 05:52 PM
Perderabo Perderabo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 121 Perderabo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 54 sec
Reputation Power: 5
A couple of solutions are discussed here.

Reply With Quote
  #3  
Old February 3rd, 2004, 09:35 AM
s_italy s_italy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 30 s_italy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 44 m 49 sec
Reputation Power: 5
Thanks a lot! That's exactly what I was looking for!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > How to ftp mget a directory with all subdirectories?


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway