| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: connecting through bluecoat proxy |
| lauts@delta From: frankfurt, Germany Posts: 4 Member Since: 03/25/09 |
posted March 25, 2009 7:22 AM hi there, i just posted this in reply to a post in the activex forum: http://support.dart.com/postings?topicid=6371 hi there, we are having the same problem (only we are using PowerTCP FTP for .NET Release 3.0.2) the proxy needs this usage 530-Usage: USER username@hostname proxyusername 530- PASS password 530 ACCT proxypassword has anything happened the last 3 years and so this is supported now? how can we connect using this proxy? thanks t. lauts |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted March 25, 2009 9:03 AM Hi, Based on the response, it looks like the following should work: Ftp1.Username = "yourUsername yourProxyUsername" Ftp1.Password = "yourPassword" Ftp1.Account = "yourProxyPassword" What happens when you try this? Thanks, -ken ------ |
| lauts@delta From: frankfurt, Germany Posts: 4 Member Since: 03/25/09 |
posted March 25, 2009 10:02 AM hey there, using this method the connection fails ("no connection could be made because the target machine actively refused it") because it is not connecting through the proxy so i have to set the Ftp1.Proxy.Server and .ServerPort so it really tries to use a proxy. but what is the proxy.type and so on... but playing around the the "ListView" sample project (and modifying it so teh "account" property can be set) we finally arrived at the following trace we used ftp1.username = "ftpuser@ftphost proxyuser" (where proxyuser is userdomain\username) ftp1.password = "ftppassword" ftp1.account = "proxypassword" ftp1.proxy.type = "pipe" ftp1.proxy.server = "proxyserver" ftp1.proxy.serverport = 21 ++++++++++++++++++++++++++++++++++++++++++++++ 27 bytes in at 14:51:12.5997021 Elapsed: 30.6402328 ++++++++++++++++++++++++++++++++++++++++++++++ 220 Blue Coat FTP Service ++++++++++++++++++++++++++++++++++++++++++++++ 53 bytes out at 14:51:12.5997021 Elapsed: 0 ++++++++++++++++++++++++++++++++++++++++++++++ USER FTP_USER@FTP.SERVER PROXY_USER ++++++++++++++++++++++++++++++++++++++++++++++ 21 bytes in at 14:51:12.6622013 Elapsed: 0.0624992 ++++++++++++++++++++++++++++++++++++++++++++++ 331 Enter password. ++++++++++++++++++++++++++++++++++++++++++++++ 13 bytes out at 14:51:12.6778261 Elapsed: 0.0156248 ++++++++++++++++++++++++++++++++++++++++++++++ PASS FTP_PASSword ++++++++++++++++++++++++++++++++++++++++++++++ 27 bytes in at 14:51:12.7247005 Elapsed: 0.0468744 ++++++++++++++++++++++++++++++++++++++++++++++ 332 Enter proxy password. ++++++++++++++++++++++++++++++++++++++++++++++ 14 bytes out at 14:51:12.7247005 Elapsed: 0 ++++++++++++++++++++++++++++++++++++++++++++++ ACCT PROXY_PASSword ++++++++++++++++++++++++++++++++++++++++++++++ 137 bytes in at 14:51:12.7559501 Elapsed: 0.0312496 ++++++++++++++++++++++++++++++++++++++++++++++ 530-User Access denied. 530- 530-Usage: USER username@hostname proxyusername 530- PASS password 530 ACCT proxypassword which seems to be a little bit further down towards making a connection. we'll now let the proxy-log check whether the access denied is from the proxy or whether there seems to be a problem forwarding the connection to the real ftp-server... |
| lauts@delta From: frankfurt, Germany Posts: 4 Member Since: 03/25/09 |
posted March 26, 2009 11:45 AM ok, if anybody has the same problem that he/she has to connect through a bluecoat proxy here is the solution to do the magic: ftp.user += "@<ftpserver> " + <FTPProxyUser> ftp.Account = <FTPProxyPasswd> ftp.proxy.server = <FTPProxyServer> ftp.proxy.serverport = <FTPProxyPort> ftp.proxy.type = FtpProxyType.Pipe ftp.passive = false |
| Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted March 27, 2009 8:54 AM Thanks for updating the forum and letting us know the solution to your problem. ~Jason |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|