1823058 Members
3137 Online
109645 Solutions
New Discussion юеВ

recursive ftp

 
Singaram
Advisor

recursive ftp

I would like to ftp multiple files with entire tree strucutre with out creating the directories on the other end.

Is it possible?

Thanks
Singaram
4 REPLIES 4
Brian Bergstrand
Honored Contributor

Re: recursive ftp

I think the following clients can handle your request:

http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/ncftp-3.1.4/

http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/ftpcopy-0.3.5/

The only way to do this with std. ftp is to tar the directory on the client, and then txfr the tarball to the server.

HTH.
Elmar P. Kolkman
Honored Contributor

Re: recursive ftp

I like wget for things like that. Even works for http...
Every problem has at least one solution. Only some solutions are harder to find.
Tor-Arne Nostdal
Trusted Contributor

Re: recursive ftp

Standard ftp do not support this.

You can retrieve multiple files with mget, but not recursive gets through directory structures.

You can either install a program that do support this (as proposed above, wget is nice and easy) or you can write a script that do this for you.

/Tor-Arne
I'm trying to become President of the state I'm in...
Mark Ellzey
Valued Contributor

Re: recursive ftp

Singaram,

This may be stating the obvious, but it may be more efficient to tar up the directory structure you want before doing the ftp. It certainly would be easier.

Regards,
Mark