Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wininet INTERNET_CONNECT_FLAG_PASSIVE
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00527258
Message ID:
00527319
Vues:
42
>Hi
>
>I'not sure what th setting should be to ensure that my ftp connection is passive.
>
>In the wininet.h INTERNET_CONNECT_FLAG_PASSIVE is set to 0x08000000
>
>so what should that be set to in a foxpro prg.
>
>This is using Robert Abrams foxpro ftp class from the download section.
>
>Thanks
>
>
>Nick Mason

Nick,

You should be able to use it just like that. 0x08000000 is already in hex format (the leading 0x indicates to VFP that the value following is to be interpreted as a hex value), so you could use something like
#DEFINE INTERNET_CONNECT_FLAG_PASSIVE  0x08000000
Then, in your code, just reference INTERNET_CONNECT_FLAG_PASSIVE.

HTH,
Scott
Scott King
The Support Source Corporation
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform