Hello,

I am trying to setup an outbound FTP transfer on a network with a Blue Coat proxy server. I am able to connect out using Filezilla and the USER@HOST FTP proxy method. I built a small VB.Net app that transfers the file fine on a network without the proxy. When I tried to deploy it on site I was unable to get through the proxy trying all 4 proxy types. Below is the code I am currently using. Any assistance would be appreciated.

   ' setup proxy details '
    client.Proxy.ProxyType = ASI_FTP.My.Settings.proxytype
    client.Proxy.Host = proxyHostname
    client.Proxy.Port = proxyPort

    ' add proxy username and password when needed '
    client.Proxy.UserName = proxyUsername
    client.Proxy.Password = proxyPassword

    ' connect, login '
    client.Connect(hostname, port)
    client.Login(username, password)

    ' do some work '
    Dim bytes As Long = client.PutFile(localfile, remotefile)
    Me.WriteLog("Transfered " & bytes & " bytes")
    ' disconnect '
    client.Disconnect()

asked 13 Dec '10, 20:51

Jim%20Cooper's gravatar image

Jim Cooper
31
accept rate: 100%

edited 14 Dec '10, 08:13

Jan%20Sotola's gravatar image

Jan Sotola ♦♦
3566

Hello Jim,

As far as I know, the Filezilla can provide a communication log. Would it be possible to send this log (demonstrating your successfull connection) to support@rebex.net? We would try to analyze it and send you a reply.

(14 Dec '10, 10:53) Jan Sotola ♦♦

I was able to get everything working this morning. I stopped using the proxy setting within the component. I am now connecting to the proxy server as my FTP host and passing user@ftphost as my username, and the ftp password as the password.

link

answered 15 Dec '10, 16:36

Jim%20Cooper's gravatar image

Jim Cooper
31
accept rate: 100%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×152
×6

Asked: 13 Dec '10, 20:51

Seen: 869 times

Last updated: 05 Apr '11, 15:45