![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jul 2002
Posts: 859
|
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 :/
__________________
. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2003
Location: Hollyweird, CA
Posts: 747
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Nov 2003
Location: Penguin vs Devil
Posts: 745
|
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
__________________
"Only the dead have seen the end of war." - Plato "In the abscence of orders, go find something and kill it." - Erwin Rommel "A man's worth is no greater then the worth of his ambitions." - Marcus Aurelius |
![]() |
![]() ![]() ![]() ![]() ![]() |