Skip to Content
avatar image
Former Member

Sending files via File Adapter through FTP having a HTTP proxy as firewall

Dear experts,

I am having a issue trying to send a file via FTP with the File Adapter. My client has a HTTP proxy with authentification required as firewall in order to send files via FTP.

I've tried several solutions but I cannot find a way to add the proxy name, user and password in the communication channel.

Any ideas?

Thanks in advance.

Best Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Apr 19, 2011 at 04:47 PM

    Try configuring the proxy settings on the Config Tool. For this, open the ConfigTool -> select the Server and then on the right window click on the "GENERAL" tab.

    Here you have to add the following parameters (remember to put the -D before each one):

    for http:

    http.proxy.user=user

    http.proxy.password=password

    http.proxyHost

    http.proxyPort

    http.nonProxyHosts

    and for https (in case you go through proxy with secure connection):

    https.proxy.user

    https.proxy.password

    https.proxyHost

    https.proxyPort

    https.nonProxyHosts

    And the "nonProxyHost" parameter is separated with pipes " ", like

    "-Dhttps.nonProxyHost=domain1.com domain2.com"

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 24, 2011 at 10:48 AM

    Hi

    Use Seeburger adapter.

    Regards

    Maciej

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 02, 2011 at 08:12 AM

    Hi KrlosRios,

    None of the solutions given, worked and my client didn't want to spend money on the Seedburger adapter for a single scenario so we finally decided to open an exception in the proxy. If PI wants to send a file through FTP to an specific IP address, the http proxy allows this. Is not the best solution, but it works.

    Another option thet we discussed, was to leave the file in a network folder using the FILE Adapter and then execute a script after the file is sent (there is an option do to so in the Comm. Channel) which will log to the proxy and send the file using the ftp command.

    Honestly I don't understand how can't the file adapter support a proxy firewall.

    I hope it helps.

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 03, 2011 at 06:40 AM

    hi

    it is very difficult problem, what port is baned in your clients's firewall?

    ftp use 20,21 port. maybe your clients's firewall do'nt permitted such ports....

    Naoki

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 03, 2011 at 11:19 AM

    Hi,

    Well it might be difficult to solve this, but if you take a look, there is a small and free FTP client as FileZilla that already supports that. So I don't understand how PI can't solve it. As you might know PI is not for free.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi SAPIMSA

      Thanks for your response.

      We still have the same problem with the customer. He doesn´t wants spend money with PI becouse is just one interface and either put an exception in his proxy server.