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
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 06-05-2006, 06:54 PM   #1
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
server to server ftp client?

Is there a way to ftp from one server to the next instead of downloading onto local & then ftp back up to next server. I use core ftp, can I do it with this somehow, or do I need to buy another ftp client
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-05-2006, 06:57 PM   #2
BoyAlley
So Fucking Gay
 
Join Date: Nov 2004
Posts: 19,714
Depends on your servers to be honest. If you have shell access it should be easy enough to do.

www.CuteFTP.com also has built-in functions to facilitiate this on compatible servers.
BoyAlley is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-05-2006, 07:02 PM   #3
SplitInfinity
Confirmed User
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
Yep,

You can use "FXP" or more commonly, just login to ssh and ftp from one server to the other like so:


shell> ftp theotherserver.com
user: somebody
password: *******

To learn how to use it, visit the following URL's:

This is a windows example, but the commands are the same.
http://www.tburke.net/info/misc/cmdline-ftp.htm

Heres a good overview:
http://www.ucc.ie/doc/other/howtoftp.html


Note: The ftp client and server programs already exist on your servers.

Also, you could use scp. :-) My personal favorite....

Do it like this:

cd into the directory where your source files are...

cd /home/someshit

then

scp -Cpr * [email protected]:/home/somepath/tosomeshit

the system will ask you for the password to the other box and voila, it copies.

:-)
SplitInfinity is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-05-2006, 07:02 PM   #4
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
Originally Posted by BoyAlley
Depends on your servers to be honest. If you have shell access it should be easy enough to do.

www.CuteFTP.com also has built-in functions to facilitiate this on compatible servers.
I have that on the new server, but not on the one I want to move off of.
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-05-2006, 07:04 PM   #5
spacedog
Yes that IS me. Bitch.
 
Industry Role:
Join Date: Nov 2001
Posts: 14,149
Quote:
Originally Posted by SplitInfinity
Yep,

You can use "FXP" or more commonly, just login to ssh and ftp from one server to the other like so:


shell> ftp theotherserver.com
user: somebody
password: *******

To learn how to use it, visit the following URL's:

This is a windows example, but the commands are the same.
http://www.tburke.net/info/misc/cmdline-ftp.htm

Heres a good overview:
http://www.ucc.ie/doc/other/howtoftp.html


Note: The ftp client and server programs already exist on your servers.

Also, you could use scp. :-) My personal favorite....

Do it like this:

cd into the directory where your source files are...

cd /home/someshit

then

scp -Cpr * [email protected]:/home/somepath/tosomeshit

the system will ask you for the password to the other box and voila, it copies.

:-)
thanks,, I need to bookmark this,,

ok, now that this parts getting done, now I ned to learn how to move mySql databases without fucking up the info...
spacedog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2006, 12:59 AM   #6
SplitInfinity
Confirmed User
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
Grab a server here, I will teach you those things and do the inital stuff for you, while at the same time show you how to do it so you learn to be muy chingon. :-)

Last edited by SplitInfinity; 06-06-2006 at 01:00 AM.. Reason: cant spell
SplitInfinity is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2006, 01:03 AM   #7
SplitInfinity
Confirmed User
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
If the versions of mysql are compatible on each server....

you can:
cd /var/lib/mysql

then use that scp command above I showed you and scp it over to the other server in the same place.

On the destination server, first do this:

mv /var/lib/mysql /var/lib/mysql_new_original
that moves the fresh install data out of the way

Next make the directory again:
mkdir /var/lib/mysql

(make sure the permissions are the same as the original mysql directory)

ls -la /var/lib/mysql_new_original will show you the proper permissions.

NOTE: before moving it over...

stop mysql on both servers... typically:
service mysqld stop
SplitInfinity is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2006, 01:04 AM   #8
SplitInfinity
Confirmed User
 
Join Date: Dec 2002
Location: San Diego, CA
Posts: 3,047
Notice: there *are* better ways to do this via mysqldump and etc, but thats beyond the scope of whats easy to explain. ;-)
SplitInfinity is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2006, 03:08 AM   #9
d00t
Confirmed User
 
Industry Role:
Join Date: Sep 2002
Location: In your mind
Posts: 3,766
rsync 4L
d00t is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2006, 03:13 AM   #10
u-Bob
there's no $$$ in porn
 
u-Bob's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
FlashFXP...
u-Bob is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2006, 03:26 AM   #11
BradM
Confirmed User
 
Join Date: Dec 2003
Location: 1123,6536,5231
Posts: 3,397
Quote:
Originally Posted by d00t
rsync 4L
troof dat
BradM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2006, 05:16 AM   #12
Methodcash Rick
Confirmed User
 
Join Date: Jul 2004
Location: Las Vegas
Posts: 1,720
Simply do it through SSH.

tar cfp - SOURCE_DIRECTORY/ | ssh root@your_ip_address cd /DESTINATION_DIRECTORY/ ; tar xf -

That'll do the current directory, recurrsive, and maintain all permissions.
Methodcash Rick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2006, 07:51 AM   #13
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,802
Quote:
Originally Posted by d00t
rsync 4L
yep ....
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2006, 08:00 AM   #14
AtlantisCash
Confirmed User
 
Join Date: Dec 2005
Location: Istanbul - Turkiye
Posts: 3,179
flash fxp...
AtlantisCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2006, 08:03 AM   #15
G-Rotica
Confirmed User
 
Industry Role:
Join Date: Aug 2005
Location: Austin, TX
Posts: 4,258
i use fxp, works great. i even paid for it, i like it so much.
__________________
G-Rotica 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



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.