Direct Server to Server Copy using FXP

FTP is still the best way to upload or download the files/folders from a website. I use gFTP to upload the files to my webspace, and its quite efficient at the job. even if the connection gets interrupted in the middle of a transfer, it automatically reconnects and completes the job. it has many other useful features too. one feature that i thought was lacking in it, is the ability to move a folder from one location to the other, within the same server. other people had complained for its lack of abilitiy to move a file from one server to another server without involving the local machine in the process. though many FTP clients support such a feature(including gFTP, as i discovered later on), i started searching for a dedicated FXP client. but what is FXP? from wikipedia:

File eXchange Protocol (FXP) is a method of data transfer which uses the FTP protocol to transfer data from one remote server to another without routing this data through the client’s connection.

note that FXP transfers need relevant support on the server side too(they must support PASV mode and PORT commands) – otherwise the FXP client can’t do anything about it. to install a FXP client on Gentoo:

  1. Add the following line to the file /etc/portage/package.keywords :
    >=net-ftp/gtkfxp-0.5 ~x86
  2. Emerge the package and run it:
    $ emerge gtkfxp
    $ gtkfxp

click the “Connect” button on the left side and fill the settings of the first server in the popped up dialog box, then click the “Connect” button on the right side and fill out the settings of the second server. you can now start transferring the files in between these two servers without involving your local machine. you can enter the information about the same server in both the dialog boxes if you want to transfer the files within the same server. note that this software is buggy and very crash prone. gFTP too supports FXP transfers but it is seriously lacking in the documentation.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: