>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