Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WwIPStuff and Ports?
Message
De
03/11/1999 00:27:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00285906
Message ID:
00285944
Vues:
17
I thought it was fixed, but at one time, there was a bug (shortcoming, design flaw/feature, whatever) with wwIPStuff that prevented the use of anything but the default port with the FTP functions. I never tested with the HTTP function, and there have been at least 2 releases of wwIPstuff since I observed this (and confirmed it through Rick), so this might not be an issue for you, but it looks like what you are running into.


>This is weird. I created two sites in the MMC, one at IP address 192.168.200.131 and 192.168.200.131 at port 37113. The site on port 37113 does NTLM authentication only (I use NTFS perms to decide who can access the files). I can't seem to get any code going that goes to my site on port 37113....
>
>HTML of site on "no port" Port 80
>
>	[html]
>	[head]
>	[title]
>	Site80
>	[/title]
>	[/head]
>	[body]
>	Site80
>	[/body]
>	[/html]
>
>
>HTML of site on Port 37113
>
>	[html]
>	[head]
>	[title]
>	Site37113
>	[/title]
>	[/head]
>	[body]
>	Site37113
>	[/body]
>	[/html]
>
>
>The Code
>
>	clear
>	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!!!
>	lcSite = '192.168.200.131:37113'  && note: no leading 'http://'
>	lcPath = '/hey.html'
>	lnCode = loIp.HTTPConnect(m.lcSite)
>	if  m.lnCode # 0
>	  * error, deal with loIp.cErrorMsg
>	else
>	  lnCode = loIp.HTTPGetEX(m.lcPath, @lcData, @lnBuf)
>	  if m.lnCode = 0
>		? lnBuf
>		? lcData
>	  endif
>	endif
>	= loIp.HTTPClose()  && no matter what
>
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform