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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-12-2003, 02:44 AM   #1
salo18
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 :/
__________________
.
salo18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-12-2003, 02:53 AM   #2
fsfaz
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.
fsfaz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-12-2003, 02:54 AM   #3
Volantt
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
Volantt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.