PDA

View Full Version : Is This Possible



Gayowulf
April 26th, 2002, 20:03
I just changed servers, and all my files are on the old server. is there a script that could be written that would access my site on the old server, and download all the files?

YUPAPA
April 26th, 2002, 20:35
I can do one in PERL
BUT you must have the Net::FTP module on both of the servers!

OR i can make a SHELL script to pack all your files to a tar.gz file and you transfer the packed file to your new server. Unpack the package by entering a command via SSH. You can unpack the file with a SHELL script also. It is up to you. You must have shell access for this.

keith
April 26th, 2002, 20:48
yupapa will most likely write a script not quite as good as the free one listed below, then charge $29.95 for it.

http://www.hotscripts.com/Detailed/14141.html

YUPAPA
April 26th, 2002, 20:53
I never said I will charge him anything, did I?

And I think if you pack your files and transfer it VIA SSH. It will be better because it can be run in background mode (I think you may get timeout using some other scripts.) And then use ncftpput command to transfer file (via SSH again).

Gayowulf
April 26th, 2002, 21:03
Thanks, keith and YUPAPA, but it needs to be done without the involvement of FTP