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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old November 27th, 2003, 08:48 AM
husker husker is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 3 husker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Transferring entire trees thru ftp?

Hi everyone, Im trying to transfer entire directory trees from one server to another using the ftp client on the machines. They are both linux. One is redhat 7.3, the other is redhat 9. The get and mget commands only seem to want to do files, not folders. Is this possible? This would save ALOT of time. Thanks for your help.

Dennis

Reply With Quote
  #2  
Old November 27th, 2003, 08:53 AM
dirk dirk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 1999
Location: Haarlem, The Netherlands
Posts: 47 dirk User rank is Sergeant (500 - 2000 Reputation Level)dirk User rank is Sergeant (500 - 2000 Reputation Level)dirk User rank is Sergeant (500 - 2000 Reputation Level)dirk User rank is Sergeant (500 - 2000 Reputation Level)dirk User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 h 34 m 41 sec
Reputation Power: 21
Hi,

use the 'ncftp' client, included with redhat.

Do a get -r or a put -r. This will do whole trees.

Cheers,

Dirk

Reply With Quote
  #3  
Old November 27th, 2003, 05:28 PM
husker husker is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 3 husker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi, thanks for your reply. I am doing this:

ncftp

open xxx.xxx.xx.xx

But then it tells me login incorrect and sleeping for 20 seconds. Is there something I need to do different with ncftp than with plain ol ftp? Do I need to put the login/pass some where in the 'open' command? Thanks

Reply With Quote
  #4  
Old November 28th, 2003, 02:38 AM
dirk dirk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 1999
Location: Haarlem, The Netherlands
Posts: 47 dirk User rank is Sergeant (500 - 2000 Reputation Level)dirk User rank is Sergeant (500 - 2000 Reputation Level)dirk User rank is Sergeant (500 - 2000 Reputation Level)dirk User rank is Sergeant (500 - 2000 Reputation Level)dirk User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 h 34 m 41 sec
Reputation Power: 21
ncftp -u <username> <host>

All linux commands have 'man' pages, so if you looking for more info about a command, try man <command> (in this case: man ncftp).

Cheers,

Dirk

Reply With Quote
  #5  
Old November 28th, 2003, 03:15 AM
husker husker is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 3 husker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks man, that helped a bunch. Found the info I needed:

ncftp -u (username) -p (password) xxx.xxx.xx.xx

Then the get -r command works just fine!

Thanks again..

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Transferring entire trees thru ftp?


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