ftp url with magic address

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
ochnap2
Junior Member
Junior Member
Posts: 2
Joined: 2013-11-19, 12:32 UTC

ftp url with magic address

Post by *ochnap2 »

Hi, I need to access to some ftp sites that are behind a proxy. The proxy requests me to use a "magic address" to specify the remote site, that is: include the address of the remote site in the username. Also, the remote ftp servers listen on a custom port and the IP of the remote sites changes all the time.

I'm trying to create a custom script that automagically opens the remote ftp site in a totalcmd panel. This works ok for direct ftp connections, but not with the proxy.

For example given the following:
- The remote site is at 10.20.20.20:2222
- My username and passwd for the remote site is: uuuu:pppp
- The proxy is at 10.10.10.10:2121

I tried executing:

totalcmd /o /l=ftp://uuuu@10.20.20.20:2222:pppp@10.10.10.10:2121

but that's not working at all. Is there a way to tell totalcmd that it must connect to 10.10.10.10:2121 with the username uuuu@10.20.20.20:2222 and the password pppp?

Thanks...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, this will not work due to the multiple @ signs and colons.

Instead, try to save the connection in Ctrl+F, then call TC with the name of the saved connection:

FTPOPEN:Saved_FTP_connection

This requires TC 8.5 beta, though.
Author of Total Commander
https://www.ghisler.com
ochnap2
Junior Member
Junior Member
Posts: 2
Joined: 2013-11-19, 12:32 UTC

Post by *ochnap2 »

Ok, it seems that creating a custom ftp ini on the fly for the connection details and using it (with /f) plus adding the ftpopen parameter as you suggest would do the trick.

Thanks!
Post Reply