That was the easiest thing to try. :)
Now you'll have to dig deeper.
>
>The reason I used 1 is because all the other constants use integers. Here is the code now. I have included the 3 lines above to illustrate:
>
>
#define INTERNET_DEFAULT FTP_PORT 21
>#define INTERNET_SERVICE_FTP 1
>#define INTERNET_OPEN_TYPE_DIRECT 1
>#define INTERNET_CONNECT_FLAG_PASSIVE 0x08000000
>
>With the code like this I get the same results: it works on one site and not the other.
>
>- Paul
--sb--