Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTPOpenFile Problem
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
FTPOpenFile Problem
Miscellaneous
Thread ID:
00455588
Message ID:
00455588
Views:
78
I'm opening a file trough FTP with:

pnFTPFile = FtpOpenFile(pnConnectHandle,@lcSourceFileName,GENERIC_READ,FTP_TRANSFER_TYPE_BINARY,dwContext)
..
..
THEN I CLOSE IT WITH:

=InternetCloseHandle(pnFTPFile)

WHEN I TRY TO OPEN THE SAME FILE IN THE SAME CONNECTION THE FILE CAN'T BE OPENED.

How can I release that buffer or whatever it is?
Do I need to:

=InternetCloseHandle(pnConnectHandle)

and then reopened again?
Francisko Paternoster
fpater@patercorp.com
Next
Reply
Map
View

Click here to load this message in the networking platform