Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP with WinInet
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01074484
Message ID:
01074567
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform