>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--