Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: MGET Automation Error
User889

Posts: 3
Member Since: 09/27/00
posted December 6, 2000 12:57 PM

I'm testing the FTP control against both a W2000 and an NT 4.0 server. With both I get the following messages using VB 6:

Automation error
The object invoked has disconnected from its clients.

My code is as follows:

 Ftp1.Login strServer, strUser, strPwd
 Ftp1.Directory = strDir
 Ftp1.MGet "*.dtr", strDownloadDir, cFiles
 Ftp1.Delete "*.dtr"
 Ftp1.Logout

It aborts at the MGet statement with the above errors. Any ideas? I have applied the latest update.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 6, 2000 1:17 PM


Can you duplicate this error using our sample app?
If so, please provide with a site to test with.

N/A posted December 6, 2000 6:04 PM

I have found the problem. In checking my code, I discovered that I have forgot to initialize the DartStrings collection prior to executing the MGet. After initializing the collection all worked well.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX