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: Receive or Send method failed. The socket is not connected
morrisdn

From: port orange, FL USA
Posts: 2
Member Since: 01/19/06
posted January 19, 2006 4:38 AM

I'm getting this error when attempting the Put method to upload a file to an ftp server. The code runs fine on my dev machine but throws this erro when run from my Server 2003 web sever.

COMException (0x800a2749): Receive or Send method failed. The socket is not connected.]
  DartFtp.FtpClass.Put(String Url, Object Source, Int32 Marker) +0

I disabled socket pooling on the server but this didn't help. Any ideas?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 19, 2006 6:38 AM

Do you get this error when attempting to login and list files using the ListView sample app?
morrisdn

From: port orange, FL USA
Posts: 2
Member Since: 01/19/06
posted January 19, 2006 8:12 AM

No, I got this error on the call to the Put method
DartFtp.Ftp.Put("ftp://username:pwd@ftphost, localSourceFtp)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 19, 2006 8:45 AM

This is the FTP for .NET forum. It does not appear that you are using FTP for .NET. Rather it looks like you are using the FTP tool.

Please try using the PutUrl sample to upload your file. If you get an error, please post a new thread in the correct forum and supply all the error messages and the contents of the status window.

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