|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Hi,
use the 'ncftp' client, included with redhat. Do a get -r or a put -r. This will do whole trees. Cheers, Dirk |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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.. |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Transferring entire trees thru ftp? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|