Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP with WinInet
Message
 
To
03/12/2005 08:06:08
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01074484
Message ID:
01074567
Views:
21
Hi Craigh,

Hmm...
- How pameters (values) ypu send to method OpenInternet()?
- Maybe is internet offline, Try use method GoOnline() after calling method OpenInternet()

MartinJ

>Martin,
>
>Here is a piece of code that Im using. Also, I dont have the error number but here's the message when getting the error during connection. I can connect via FTP:// with the browser.
>
>These code does obtain an number, no error here.
>
THIS.nInet_Handle = InternetOpen((THIS.cAgent), INTERNET_OPEN_TYPE_DIRECT, cNULL, cNULL, 0)
>
>But this following line does cause an error!
>
>
 lnConnect_Handle = InternetConnect(THIS.nInet_Handle, (THIS.cIPAddress), VAL(lcPort), ;
>(THIS.cUserName), (THIS.cPassword), INTERNET_SERVICE_FTP, 0, 0).
>
> With this message:ERROR_INTERNET_CANNOT_CONNECT
>
>
>I will try to see if I can get the number. Martin, all you help is appreciated.
>Craig
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform