How to setup FTP proxy preferences

Post Reply
pfischer
Member
Posts: 45
Joined: Tue May 14, 2013 4:57 pm

How to setup FTP proxy preferences

Post by pfischer »

Hi there,
I have problems to set up the FTP preferences and the FTP receive properties. I simply want to download files from an FTP server but in our environement we use a proxy and a strong firewall. I have checked the access to the FTP server via FileZilla and that worked. So now, I want to transfer the setting to Switch.

In FileZilla I have to use the user@host. I have this information:
1. proxyserver
2. userproxyserver
3. passwordproxyserver
4. ftpserver
5. userftpserver
6. passwordftpserver

As I found it here: http://www.enfocus.com/Manuals/UserGuid ... ences.html
I made my setup like this:
1. Switch Preferences:
- No proxy
- All over fields blank
- Port is always 8080
2. FTP receive properties
- Passive: Yes
- FTP-Server-Adress (I tried different combinations like this): userproxyserver:passwordproxyserver@proxyserver
- Port: Standard
- Username: userftpserver@ftpserver
- Password: passwordftpserver

I receive this answer from the log:
"Es kann keine Verbindung zum FTP-Host aufgebaut werden. Fehler: The requested name is valid, but does not have an IP address at the Domain Name Server. Please check the DNS setup."

Do you have any ideas for me? I think the problem is, that the three protocols in the preferences (HTTP-tunneling, SOCKS4, SOCKS5) don't fit. And that our proxy server also need an authentification. So we've got user/pass for the proxy and different user/pass for the FTP-server.

Thanks for your help.
Peter Fischer
Media asset and production specialist
Group Communications / System Operations
Phoenix Contact GmbH & Co. KG
www.phoenixcontact.com
freddyp
Advanced member
Posts: 1035
Joined: Thu Feb 09, 2012 3:53 pm

Re: How to setup FTP proxy preferences

Post by freddyp »

The setup in Switch is basically the same as in Filezilla: you have separate places for defining the proxy settings and for defining the FTP settings.

The proxy settings are defined in the Preferences, so there you have to define the name/IP address of the proxy server and also the user name and password for accessing that proxy server. You wrote that you left everything blank which means Switch will not be using the proxy server! Any information relating to the FTP server is out of its place here.

In the flow element you have to define the FTP settings as if the proxy server were not there. Any information relating to the proxy server is out of its place here. Using the name of the proxy server there, in combination with the user name and password as part of the name, will naturally result in the FTP server not being found.
pfischer
Member
Posts: 45
Joined: Tue May 14, 2013 4:57 pm

Re: How to setup FTP proxy preferences

Post by pfischer »

Hi Freddy,
thank you for your reply. Maybe I misunderstood the description in the user manual. I will check your hints as soon as possible and post a reply.
Kind regards, Peter
Media asset and production specialist
Group Communications / System Operations
Phoenix Contact GmbH & Co. KG
www.phoenixcontact.com
pfischer
Member
Posts: 45
Joined: Tue May 14, 2013 4:57 pm

Re: How to setup FTP proxy preferences

Post by pfischer »

Hi Freddy,

unfortunately I'm not successful.

I think I had tried every possible combination. But as you said, if it works with FileZilla, it should work with Switch. So I have to go on.
I have a couple of basic questions:
- what type of protocol in the preferences section of Switch fits to "user@host" in FileZilla?
- in FileZilla I have to insert the user name for the proxy server including the domain name. It's an active directory user and looks like this: "europe\username". Does the backslash make any problems?
- in the Switch manual which I linked in my first post, you can read how to enter the proxy setting if HTTP oder SOCKS doesn't fit as the protocol. And that's what I don't really understand:

------------
http://www.enfocus.com/Manuals/UserGuid ... ences.html
To use the FTP proxy protocol rather than HTTP or SOCKS, select "no proxy" for the "type of proxy" preference described below, and follow these guidelines for entering the appropriate proxy information in the FTP receive and FTP send properties:

In the "FTP server address" property, enter the name or IP address of the proxy server (instead of the FTP site being targeted).

In the "user name" property, append an @ sign and the target FTP site address (domain or IP address) to the regular user name (that is, "ftpserverusername@ftpserveraddress").

The other properties, including password, remain unchanged.
-------------

By the way, actually we have installed Switch 12 Upd. 2.

Thanks for your help,
Peter
Media asset and production specialist
Group Communications / System Operations
Phoenix Contact GmbH & Co. KG
www.phoenixcontact.com
freddyp
Advanced member
Posts: 1035
Joined: Thu Feb 09, 2012 3:53 pm

Re: How to setup FTP proxy preferences

Post by freddyp »

Where and how are you filling in the proxy settings in Filezilla? I have seen that there are two places in the Preferences, one under Connection - FTP- FTP proxy and one under Connection - Generic proxy.

If you use the FTP proxy then configure it as described in the manual: No proxy, etc. If it is the generic proxy, the settings look very much the same as in Switch, so you can just copy them.

Note that the documentation says that appending the user name to the FTP site address is done on the "FTP receive" and "FTP send" elements. That means that you do not do this in the Preferences!! And that this is only done when using an FTP proxy.

If you cannot work it out, send a mail to support@enfocus.com. I am traveling this week and may not be able to respond, and I am certain they have more experience with this than I have.
pfischer
Member
Posts: 45
Joined: Tue May 14, 2013 4:57 pm

Re: How to setup FTP proxy preferences

Post by pfischer »

Unfortunately I'm filling the proxy settings in FileZilla unter "Connection - FTP - FTP proxy" and not the generic settings.
FileZilla_Proxy_Settings.jpg
FileZilla_Proxy_Settings.jpg (73.5 KiB) Viewed 9150 times
I have transferred the settings to the Switch preferences window. I have tried all "Proxy Type" setting, but due to the manual it has to be "No Proxy".
Switch_Preferences_Proxy_Settings.jpg
Switch_Preferences_Proxy_Settings.jpg (28.83 KiB) Viewed 9150 times
After that I make the setting in the FTP receive tool (also due to the Switch Online Manual):
- FTP-server-adress: will get the proxy-adress
- User name: ftpuser@ftpserver
And the rest as usual.
Switch_FTP_Receive_Settings.jpg
Switch_FTP_Receive_Settings.jpg (73.41 KiB) Viewed 9150 times
Is there a change between the versions Switch 11 and Switch 12? I read some hints in the release notes...
Thank you so far for your help. Probably I will get in contact with the support.

Kind regards,
Peter
Media asset and production specialist
Group Communications / System Operations
Phoenix Contact GmbH & Co. KG
www.phoenixcontact.com
pfischer
Member
Posts: 45
Joined: Tue May 14, 2013 4:57 pm

Re: How to setup FTP proxy preferences

Post by pfischer »

In the actual Switch version it was not possible to get a "FTP receive" connection via user@host over a proxy that needs authentification with proxy-user and proxy-password. This task was taken by Enfocus as a feature request for future versions.

Actually the solution is to contact the FTP server over proxy without authentification. Setting the credentials like written in the manual (see: http://www.enfocus.com/Manuals/UserGuid ... ences.html) will work for us.

Thanks for your support.

Peter
Media asset and production specialist
Group Communications / System Operations
Phoenix Contact GmbH & Co. KG
www.phoenixcontact.com
Post Reply