1834548 Members
3964 Online
110069 Solutions
New Discussion

ftp

 
SOLVED
Go to solution
George Doller
Frequent Advisor

ftp

Is there a way to ftp whole directory trees
(/etc) without creating all the directories on the remote side first.
Thank for the help!
3 REPLIES 3
Shahul
Esteemed Contributor

Re: ftp

Hi

As per my experience NO. U will have to go to subdirectories and do ftp.

Shahul
Laurent Paumier
Trusted Contributor
Solution

Re: ftp

One solution would be to use tar on the source host to make an archive of the directory, ftp that archive to dest host and untar it.
Another way is to put source host in root's .rhosts on destination host and use rcp -r, or rdist.
James R. Ferguson
Acclaimed Contributor

Re: ftp

Hi George:

If you are copying unix to unix, you could use 'rcp -r srcdir dstdir' instead of 'ftp'.

...JRF...