![]() |
Server to server transfer script?
Anyone know of a script that I can use to send files from my old server to my new?
I cant get FXP to work so I need to do this with a script :/ |
What kind of script you want? Are you looking to just transfer the files once or daily? Why not just tar them up or have them tar them up and then just ftp into the box and do a get.
If your looking for a shell script to do it automatically for automated backups, try this ... Create blah.sh #!/bin/sh ftp -n << EOF verbose open yourhost.com user <yourusername><yourpasswd> binary lcd /usr/home/yourdir cd /usr/home/anotherdir get tar.tar close EOF It's not the safest in the world, but works. |
Yes, I am confused also.. I am guessing only needed to do it once. Then tar or zip would be your best bet like above.
V |
All times are GMT -7. The time now is 01:39 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123