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: Implicit connections
rcaronna

From: Baton Rouge, LA USA
Posts: 2
Member Since: 07/14/05
posted July 14, 2005 5:54 PM

I'm trying to establish a connection using an implicit connection and I am getting an exception when I try to put a file.

I'm getting an object reference error. The stack shows the following:

Dart.PowerTCP.SecureFtp.aw.Invoke(Delegate A_0, Object[] A_1)
  at Dart.PowerTCP.SecureFtp.Ftp.Put(String localFileName, String remoteFileName)

The line of code that raises the exception is below:
file = Me.ftpClient.Put(sourceFile, New FileInfo(sourceFile).Name)

Thanks,
Richard
rcaronna

From: Baton Rouge, LA USA
Posts: 2
Member Since: 07/14/05
posted July 15, 2005 9:52 AM

Never mind. Setting the connection to Passive resolved this issue. Not sure why I wasn't getting a more descriptive error though.
Reply | PowerTCP FTP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX