Every Flavour Beans

“The time has come…to talk of many [technologies].” –Lewis Carroll(‘The Walrus and the Carpenter’)
Development Tools. Web Frameworks. GNU/Linux. Nokia N800. Video Encoding.

April 9, 2006

Direct Server to Server Copy using FXP

Filed under: GNU/Linux, General, Gentoo — tabrez @ 9:00 am

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 web space 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 ability to move a file from one server to another server without involving the local machine in the process. Though many FTP clients do support such a feature(including gFTP, as I discovered later), 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:

    sh# emerge gtkfxp
    sh# 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. I recently got an email from Chris explaining how to do FXP transfers in gFTP. The procedure described was like this:

Here’s how to use FXP wit gFTP: First, FXP requires you to connect to both sites
using the normal client. To do so please use Menu “FTP” -> “Window 1″ and then
select one of your bookmarked sites, and wait till it has properly connected.
You will see the file listing appear in window 1, which is the left panel.
Switch to “Window 2″ using “FTP” -> “Window 2″ and then connect via bookmark
to another (different!) site. That’s it. You can now transfer between them.

Thanks Chris for the great tip!


If you want to receive future posts by email, enter your email address here:

Related Posts:

  • Create ASP.NET 1.0 & 2.0 Applications On GNU/Linux and Windows Using Mono XSP
  • Maemo SDK VMWare Appliance 0.4 Released With Lot of Goodies
  • Setting Up Rails Development Environment on Windows Vista/XP
  • Setting Up Rails Development Environment on Fedora GNU/Linux
  • Installing Complete LAMP Stack on Ubuntu 6.10(Edgy Eft)
  • Setting Up Rails Development Environment on Ubuntu GNU/Linux
  • Which is my favourite OS?


  • 2 Comments »

    1. so… how much r ya making with the ads …. :P???

      Quote

      Comment by abulhasnaat — April 30, 2006 @ 5:26 am

    2. buddy, its the first day today for my blog here(moved it from tabreziqbal.wordpress.com)!! if i make a decent amount in the next three months, maybe i will let you know ;)

      Quote

      Comment by tabrez — May 1, 2006 @ 5:15 am

    RSS feed for comments on this post. TrackBack URI

    Leave a comment


    Copyright (c) 2006, 2007 Tabrez Iqbal.
    Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. Verbatim copying and distribution of this entire article is permitted in any medium without royalty provided this notice is preserved. A copy of the license is included in the section entitled "GNU Free Documentation License".


    Powered by WordPress
    This website is hosted by Dreamhost