Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need value for FtpOpenFile()
Message
 
 
To
14/03/2004 21:03:44
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00886173
Message ID:
00886174
Views:
14
This message has been marked as the solution to the initial question of the thread.
>I need the download values to be used for FtpOpenFile(). Basically, I have the following to upload a file:
>
>
>lnRemote = FtpOpenFile(nFTPSession,cRemoteFile,0x40000000,2,0)
>
>
>But, the 3rd parameter will change if I need to download a file. Anyone knows that value?

The third parameter in this case would be GENERIC_READ
#DEFINE GENERIC_READ 0x80000000
lnRemote = FtpOpenFile(nFTPSession,cRemoteFile,GENERIC_READ,2,0)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform