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: A socket operation encountered a dead network
tpguser

From: HOUSTON, TX USA
Posts: 5
Member Since: 05/24/04
posted May 25, 2004 12:15 PM

iam trying to use the Dart.PowerTCP.Ftp dll to connect and access a ftp site. i am getting the control to connect using the ftp control editor but when i set the control or dll parameters in code i get A socket operation encountered a dead network. Any ideas as to the cause?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 25, 2004 12:35 PM

What happens if you use the sample ListView app?
tpguser

From: HOUSTON, TX USA
Posts: 5
Member Since: 05/24/04
posted May 25, 2004 2:13 PM

The Sample app gives the same error
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 25, 2004 2:14 PM

At what point in the sample is the error caused? What line of code throws the error?
tpguser

From: HOUSTON, TX USA
Posts: 5
Member Since: 05/24/04
posted May 25, 2004 6:49 PM

' Get a listing from the server.
      list = m_Ftp.List("", True)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 25, 2004 10:47 PM

Have you tried different settings for Passive? Try both true and false.
tpguser

From: HOUSTON, TX USA
Posts: 5
Member Since: 05/24/04
posted June 1, 2004 6:51 PM

I have tried that and more. I have connected to ftp server in question from the browser and command line ftp. I still get the dead network issue from inside the source. Are there some mystery setting that can cause this?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted June 2, 2004 9:01 AM

Is there a proxy server involved?
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX