Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WwIPStuff and Ports?
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
WwIPStuff and Ports?
Miscellaneous
Thread ID:
00285906
Message ID:
00285906
Views:
73
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
Next
Reply
Map
View

Click here to load this message in the networking platform