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 '
' do some work '
Dim bytes As Long = client.PutFile(localfile, remotefile)
Me.WriteLog("Transfered " & bytes & " bytes")
' disconnect '