Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WwIPStuff - Download?
Message
De
01/11/1999 22:57:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00284656
Message ID:
00285272
Vues:
16
>This returns:
>0
>461
>
>How come?
>
>SET PROCEDURE TO wwUtils ADDITIVE
>SET CLASSLIB TO wwIPStuff ADDITIVE
>LOCAL loIP, lnBuf, lcData, lnCode, lcSite, lcPath
>loIP = CREATE( 'wwIpStuff')
>lnBuf = 0 && reset before every Get!!!
>lcData = '' && reset before every Get!!!
>lcName = 'joe'
>lcPass = 'joe'
>lcSite = '192.168.200.131:8808'  && note: no leading 'http://'
>lcPath = '/std.out.gz'
>lnCode = loIp.HTTPConnect( m.lcSite,m.lcName,m.lcPass)
>IF m.lnCode # 0
>  * error, deal with loIp.cErrorMsg
>  ? loIp.cErrorMsg
>ELSE
>  lnCode = loIp.HTTPGetEX( m.lcPath, @lcData, @lnBuf)
>  ? m.lnCode
>  IF m.lnCode = 0
>    * success:
>    * lnBuf = # of bytes returned
>    * lcData has your data
>	? lnBuf
>	strtofile(lcData,'h:\temp\temp\std.out.gz')
>  ENDIF
>ENDIF
>= loIp.HTTPClose()  && no matter what
>
Wierd, I can't find what error 461 means. GetSystemErrorMsg returns an empty string.

Can you hit any other server stuff? ASP pages? Other files?

You mentioned earlier that this was a HTTPS server. Did you specify a secure link with oIP.lSecureLink?
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform