Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need value for FtpOpenFile()
Message
 
 
À
14/03/2004 21:03:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00886173
Message ID:
00886174
Vues:
15
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform