LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ftp downloading (https://www.linuxquestions.org/questions/linux-software-2/ftp-downloading-101797/)

evaluator 10-08-2003 05:24 PM

ftp downloading
 
Does anybody know of a program that will allow you to download from an ftp server to another ftp server and then transfer to the local machine on the fly?

The reason I need this is because I can only connect to the first ftp server at 25 and I can connect to the other one at 150 and they can connect to each other at 200.

Thanks for your help.

nrunge 10-08-2003 05:31 PM

I used to use something called FXP under windows. I googles real quick and here is some software for linux that supports FXP that has a nice GUI.

http://www.iglooftp.com/linux/

evaluator 10-08-2003 05:55 PM

I don't see how you would get the program to transfer on the fly. I need it to be on the fly because of quotas on the middle ftp server. Anybody have any suggestions?

wuck 10-09-2003 10:19 AM

I don't know much about bash scripting, but it should be possible to make yourself a script that could perform that task?
For as far as I know, you _have_ to (temporarely) put the files on your local system.

Code:

echo 'user yourusername yourpassword get foo.bar bye' | ftp ftp.middleserver.net 150 # get files from middleserver

# if you still want foo.bar to be uploaded somewhere else, try

echo 'user yourusername yourpassword put foo.bar bye' | ftp ftp.lastserver.net 200

Note that the bold tags need to be altered to the correct forms that apply to your environment.
Hope this helps in any way.

nrunge 10-09-2003 10:27 AM

FXP does do it on the fly. I used to use it in for warez back in the day when some dude didnt want to give up usernames and passes for his 0-day warez FTP's. So I would Ftp to his box which was running FXP which would relay to the 0-day FTP box. It looks like all you are looking for is to proxy the connection. The middle computer takes the data and directly passes it on the the other node. I dont understand why that wouldnt work.


All times are GMT -5. The time now is 09:45 PM.