Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP Class for VFP 5.0 – Hangs on Upload
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00944193
Message ID:
00944365
Views:
31
Sergey,

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform