GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Transferring files between 2 servers (https://gfy.com/showthread.php?t=39555)

Hypo 09-28-2001 02:56 AM

Transferring files between 2 servers
 
Is there an easy way to transfer files between two servers than zip>download>upload>unzip ?

I need some 3 Gigabytes of files/folders/subfolders shifted to another server. And my cable is down for a couple of days.

JackFoley 09-28-2001 02:58 AM

Try http://www.flashfxp.com

X-raid 09-28-2001 03:04 AM

Yes it's so easy to fxp something with flashfxp... try it...

------------------
http://x-raid.net/xraid.gif I can kill you, so fuck off!

Hypo 09-28-2001 03:11 AM

Thanks. Does this use the servers' bandwidth or my connection?

deluxe 09-28-2001 03:18 AM

I would say the server but I'm not sure.

------------------
HQ content 4 low prices! Please tell them Deluxe has send you.

[email protected]
77717734

X-raid 09-28-2001 03:24 AM

Yes it uses the servers' bandwidth and not yours!

------------------
http://x-raid.net/xraid.gif I can kill you, so fuck off!

Hypo 09-28-2001 04:08 AM

I'm trying to transfer between two servers and I keep getting the message -


PASV
227 Entering Passive Mode (IP address here)
PORT IP-address-here
500 Illegal PORT command
Site to Site Transfer Failed!
Transfer Failed!


Whats wrong?

Hypo 09-28-2001 04:11 AM

I enabled some alternative method on both sites and it still doesnt work.

TFCash 09-28-2001 05:15 AM

Hypo -

The 2 servers that you are copying between have to support the protocals in order to do a copy between them with that software. So if that won't work for you, do you have telnet/ssh access on either of the servers ?? If so you could login and just do the transfer that way.


Tim

Hypo 09-28-2001 05:30 AM

I have telnet/ssh on both servers. How exactly do I transfer the files? What command? Any script?

Kimmykim 09-28-2001 01:20 PM

Why not just ask your host to tar up the files and move them for you?

Hypo 09-28-2001 01:39 PM

I dont think my host will help me shift to another host :P

RK 09-28-2001 02:42 PM

Quote:

Originally posted by Hypo:
I dont think my host will help me shift to another host :P
Will your new host help you move from the old host?

We do that.

------------------
Pay-As-You-Go Hosting FREE Trial!
Below $.90/GB Dedicated Hosting
EnergyHosting - Energizing your business

m0rph3us 09-28-2001 02:49 PM

Don't use FXP, you will lose permissions/ownerships on files...

Here's a quick guide:

Login to telnet of old host.
1. Goto directory where you web files are... ie /home/site/me/web and type

tar -cpf backup.tar *

2. wait a while.. now all your files have been "zipped". Now at shell type

ftp
open www.newserver.com
put your login and pass in
put backup.tar

Now you wait a looong time till transfer is done..

3 FTP in your new host and move the .tar file in the web visible folder.

4. Telnet in and now type in the folder that the .tar is in:

tar -xpf backup.tar

Wait a while...

=) Done!

rm backup.tar removes the file

Tadaa!

fantasyc 09-28-2001 02:51 PM

Can't you just FTP them from one server to the other? I use SmartFTP and I can transfer from one server to another with no problem.

------------------
Tracy ;)
Fantasy Content
http://www.fantasycontent.com

RK 09-28-2001 03:19 PM

Quote:

Originally posted by fantasyc:
Can't you just FTP them from one server to the other? I use SmartFTP and I can transfer from one server to another with no problem.
This is called FXP and is described above.

m0rph3us 09-28-2001 03:20 PM

Quote:

Originally posted by fantasyc:
Can't you just FTP them from one server to the other? I use SmartFTP and I can transfer from one server to another with no problem.


Not all servers allow FXP. Some servers are firewalled an don't allow connections incoming to any port. Plus FXP loses file permissions/ownerships.

Hypo 09-28-2001 03:34 PM

Morpheus thanks for the step-by-step guide! That seems to be working!!

Now, if I want to tar only a few directories and not all, how can I do that?

So if I have directories dira, dirb, dirc, diry and dirz
and I want to tar only dira, dirb and dirc, how do I do that? Cos their are some directories having 2 gigs of file that I dont want to tar and transfer.

Is there a function like -
tar -cpf backup.tar dira + dirb + dir c
or preferably
tar -cpf backup.tar * - dirz -diry
?

P.S. I confirmed that my server doesnt support fxping

Hypo 09-28-2001 03:42 PM

I see I can use an append function slightly tediously -

tar rpf backup.tar dira
tar rpf backup.tar dirb
tar rpf backup.tar dirc

This should work right? I have around 30 folders so it will be tedious.

m0rph3us 09-28-2001 03:44 PM

Quote:

Originally posted by Hypo:
I see I can use an append function slightly tediously -

tar rpf backup.tar dira
tar rpf backup.tar dirb
tar rpf backup.tar dirc

This should work right? I have around 30 folders so it will be tedious.

yah it is tedious... =( if you did it like * it would tar all direcories and subdirectories etc... works best. Whatever you do.. don't take the 'p' out of the expression or you'll lose permissions.


All times are GMT -7. The time now is 05:39 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123