Site Copying
Hi, This isn't really the right board to ask this but it's the closest to what I want.
Does anybody know how to copy all the files from one ftp account to another without taking them down to the computer first?
I know about ftp in telnet but that only does one file at a time I think.
Is it possible to take the whole of a directory on a server and put it into one tar file and copy it maybe?
All help is welcome!
Neil
------------------
DreamStreamUK - The webmasters network.
The CGI-Index.com - Over 200 categories of CGI resources.
Web-ScriptsUK - CGI Scripts for the internet novice.
roBofh posted this at 18:02 — 12th February 2000.
They have: 122 posts
Joined: Jun 2000
If you have shell access, you can make a tarball (tar cf filenam.tar directory/) on the server that has the files. Alternatively, if you have shell access on the server that you want to transfer the files to, you might be able to (in ftp) do get directory_name.tar. notice the addition of .tar to the directory name. If the ftp server supports this, it forms a tarball with the directory's contents in it for you to transfer.
Rob Radez
OSInvestor.com
Rob Pengelly posted this at 18:02 — 12th February 2000.
They have: 850 posts
Joined: Jul 1999
You may want to check out the
NET::FTP module
(http://search.cpan.org/doc/GBARR/libnet-1.0607/Net/FTP.pm)
I have not actually used it, so I cannot help you too much, sorry.
------------------
Windmills always turn counter-clockwise. Except for the windmills in Ireland.
http://www.thehungersite.com - http://www.therainforestsite.com
http://www.ratemymullet.com - Beauty is only mullet deep.
skirrow posted this at 18:52 — 12th February 2000.
They have: 56 posts
Joined: Jul 1999
Thanks a lot for your help. I did it. Just typed get dir.tar in the telnet ftp and it worked!!
Cheers
Neil
------------------
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.