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: FTP Run-time error 11102
bshah

From: Atlanta, GA USA
Posts: 11
Member Since: 08/08/02
posted August 8, 2002 7:36 PM

I am running following code and occasionally getting error 11102:


oXFTP.TimeOut = 14400000
Call oXFTP.Retrieve(Trim$(RemoteFileName), LocalFilePath)

oXFTP.Delete (Trim$(RemoteFileName))


Any help will be much appreciated.

Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted August 9, 2002 8:39 AM

The 11102 error is an error in accessing the local storage. Is the file you are retreiving in use on the hard disk for any reason when you do the retrieve? What line does it throw an exception on?
bshah

From: Atlanta, GA USA
Posts: 11
Member Since: 08/08/02
posted August 9, 2002 10:06 AM

Yes, the file is downloaded locally for viewing or update. The error happens on following:

Call oXFTP.Retrieve(Trim$(RemoteFileName), LocalFilePath)

BTW, LocalFilePath contains local path + file name. This is used in Win 2000 based VB6 application.


Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted August 9, 2002 10:16 AM

Is it possible that something else is accessing the file when you try to over write it with a retrieve? If this is the case then you will won't be able write to the file and you will get an 11102 error.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX