Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Perform direct site-to-site FTP with any FTP client Internet

In this forum thread, the topic of direct site-to-site FTP (moving files from one FTP server to another without visiting your local machine first) was brought up, with a few solutions covered. One was to use Fetch, which apparently has this feature built in, but seeing as how I don't like Fetch (UI bugs me, mainly), I came up with a way to do it from Transmit (or any FTP client that lets you look at the "computer" level of your machine to see locally mounted volumes). Check it out:

  1. Mount the source FTP server in the Finder with Command-K (or Go -> Go to Server if you prefer menus).
  2. Launch Transmit (or other FTP client, as noted above).
  3. Navigate to the Computer level with the pop-up menu on the left-hand side of the Transmit window, and select the locally mounted FTP server.
  4. Mount your target (destination) FTP server in the right-hand side of the Transmit window.
  5. Do what comes naturally, and drag your stuff over!
I tried that on a whim just now, and it works amazingly well.
    •    
  • Currently 3.00 / 5
  You rated: 3 / 5 (3 votes cast)
 
[16,033 views]  

Perform direct site-to-site FTP with any FTP client | 13 comments | Create New Account
Click here to return to the 'Perform direct site-to-site FTP with any FTP client' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Perform direct site-to-site FTP with any FTP client
Authored by: mrbiiggy on Aug 14, '03 11:44:48AM
I'm not sure, but this would seem to use your computer as the middle-man. Maybe you should look into FXP?

[ Reply to This | # ]
Perform direct site-to-site FTP with any FTP client
Authored by: verdon on Aug 14, '03 11:46:17AM

Hi

I do like Fetch and use this functionality a lot. Actually though, if you watch the status bars carefully, it is actually DL'ing to temp files on your local machine and UL'ing them to the second host and then cleaning up behind itself. On a high speed connection, this gives the illusion that you're going host to host, and is certainly convenient, but it is just an illusion. This becomes very obvious when working via dial-up ;)

I don't think this is a Fetch thing, but suspect it is just the nature of FTP. I could be wrong, but would imagine that Transit is doing something similar.

salut,



[ Reply to This | # ]
Perform direct site-to-site FTP with any FTP client
Authored by: diamondsw on Aug 14, '03 11:49:18AM

While this will not actually deposit the file on your computer (depending on how Apple implemented Finder FTP), you are NOT doing direct FTP to FTP site transfers. That's a specific protocol known as FXP, which is generally not enabled on FTP servers (pureftpd.org had a good description of FXP, if I recall). The file is still being transferred to your computer, then out to the FTP site, using your bandwidth twice.



[ Reply to This | # ]
Perform direct site-to-site FTP with any FTP client
Authored by: soapbeard on Aug 14, '03 11:49:21AM

This wont do direct site-to-site, the OS X mounting of the ftp site will be copying to your machine before sending to the other



[ Reply to This | # ]
Perform direct site-to-site FTP with any FTP client
Authored by: Mikey-San on Aug 14, '03 01:48:38PM

I'm watching the output of fs_usage right now, and it doesn't appear to copy the file to your machine first (no long instances of "write" commands are being dumped). It appears that it's just taking information from one volume and sending it to the next. Remember that FTP servers, when mounted in the Finder, are mounted in /Volumes.

Are you guys saying that if I mount my FireWire drive and drag a bunch of stuff into the Transmit window, I'm copying that stuff over to my HD first? I don't think so, and it's essentially--to the Finder, anyway--the same thing.

EVEN IF it's just an illusion, isn't a mighty convenient way of doing things when you need to, without having extra things around.

But unless fs_usage is lying to me, it works as it appears.



[ Reply to This | # ]
Perform direct site-to-site FTP with any FTP client
Authored by: Mikey-San on Aug 14, '03 01:54:07PM

Crap. Forgot to add this:

It appears to (and would thus suck for modem users) use your rig's bandwidth as an in-between. (Wanted to acknowledge that since it was pointed out.)

Still worth being able to do, though, since not all servers can do direct transfer to other servers. :-/



[ Reply to This | # ]
Perform direct site-to-site FTP with any FTP client
Authored by: jimmatthews on Aug 14, '03 04:06:58PM

You won't see anything with fs_usage because the data isn't going to disk, it's going network->RAM->network.

By default Fetch's server-to-server transfers work this way as well, but you can choose "Direct server-server transfers" in the Misc. section of Preferences to make the transfer go directly between the two servers. It won't work if the servers are configured to only accept transfers from the IP address of the logged-in client (which is why it's off by default), but if the servers allow 3rd party transfers it can be very handy (and fast).

Jim Matthews
Fetch Softworks



[ Reply to This | # ]
Perform direct site-to-site FTP with any FTP client
Authored by: RiotNrrrd on Aug 14, '03 11:09:47PM
I guess no one here is Old Skool like-a moi.

You can do this with the standard command-line FTP client.

RTFM ftp(1) and look for the proxy command.

The basic idea is:

You start FTP by itself. (i.e., ftp, not ftp hostname.)

You connect to the "main" machine via

ftp> open primaryhost

You connect to the other machine via

ftp> proxy open otherhost

Once logged on to each host, you can do normal stuff - e.g., like

cd /some/path/on/primaryhost

proxy cd /some/path/on/otherhost

Once you're ready, do a proxy get filename (or proxy put filename, etc.)

Voila!

Oh, and you have to set Passive Mode (PASV) for this to work, obviously.

[ Reply to This | # ]

Perform direct site-to-site FTP with any FTP client
Authored by: tr4nc3 on Feb 07, '04 01:07:20AM
Guess that doesn't work with WinXP.. I tried.
You connect to the other machine via 

ftp> proxy open otherhost

---
?>

[ Reply to This | # ]

Perform direct site-to-site FTP with any FTP client
Authored by: skealoha86 on Aug 15, '03 11:48:03PM

i guess i jus don't understand the point of using transmit at all...why not just mount both drives in the finder and drag and drop?

seems like it saves time to me...



[ Reply to This | # ]
Perform direct site-to-site FTP with any FTP client
Authored by: haiku on Aug 16, '03 06:01:07AM
why not just mount both drives in the finder and drag and drop?
Because the Finder still doesn't support FTP uploading. I honestly don't know what the reason for this missing link of usability is but Apple has a tech note on it here which makes it sound like it's not something that will change anytime soon.

[ Reply to This | # ]
Perform direct site-to-site FTP with any FTP client
Authored by: Anonymous on Aug 21, '03 12:13:31AM

From what I've read (by those who are using developer builds), FTP uploading finally works in Panther.

I don't doubt there will still be some servers it has trouble with, but for the most part, this sounds like good news to me. (I just hope it's true.)



[ Reply to This | # ]
Perform direct site-to-site FTP with any FTP client
Authored by: Anonymous on Aug 25, '03 01:18:04PM

Oops, sorry. Now I've read that it is indeed still "broken" in Panther. Looks like it works for some very small minority of people, but most of the time you still can't upload.



[ Reply to This | # ]