Login  
Search All Forums
Dart Home | PowerTCP FTP for .NET | Custom Development Reply | PowerTCP FTP for .NET Topics | Forums   
AuthorForum: PowerTCP FTP for .NET
Topic: Invalid Host error with RemoteEndPoint using Proxy
jboucklos

From: USA
Posts: 3
Member Since: 04/29/14
posted April 29, 2014 6:46 PM

I'm trying to run the sample ftplistview project and  I'm getting an "Invalid Host" trying to set the session.RemoteEndPoint . I need to access the ftp site through a proxy and we use the user@ftpsite type without any passwords. I've been able to connect using other applications and the activex version works on an XP machine but can't get this to work on the .net version. Not sure how RemoteEndPoint will get resolved if I have to go through a proxy
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted April 30, 2014 10:13 AM

Hello,

Please use the IPEndPoint(string hostNameOrAddress, string address, int port, int range) constructor to set the RemoteEndPoint, when your machine's DNS server cannot resolve the remote hostname. This is currently tracked as TFS26 for support for all IPEndPoint constructors; for information and updates on its status, please contact jamie.powell@dart.com
jboucklos

From: USA
Posts: 3
Member Since: 04/29/14
posted April 30, 2014 12:25 PM

Hello,

I tried that but I'm getting the following error "an Invalid IP address was specified"
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted April 30, 2014 12:34 PM

Hello,

What are your arguments? If you cannot provide them on the forum, please send them into support@dart.com.
jboucklos

From: USA
Posts: 3
Member Since: 04/29/14
posted April 30, 2014 12:56 PM

Hello,

I figured it out, I was putting the host name of my proxy server in the second argument which i assumed I had to but it works if i put the actual IP address of my proxy server

thank you
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX