WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

WinInet
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Non Standard Port

 Keywords: public web free anonymous proxies proxy WinInet port 8080 3128 

Question:

I got thrown off a public site for web scraping, so I'm trying to use 'public' web proxies, some of which communicate on ports 3128 and 8080.

Answer:

The iBegin function allows you to specify the proxy server. As for the nonstadard port, you might try appending :3128 to the end of the proxy address.

This seems to work...


AddExtender("WWINT44I.DLL")
tophandle=iBegin(1,"122.155.0.244:3128","")
datahandle=IUrlOpen(tophandle,"http://www.winbatch.com")
iReadData(datahandle,dirscript():"abc.txt")
iClose(datahandle)
iClose(tophandle)
Message("All","Done")
Exit

Article ID:   W17623
Filename:   Non Standard Port.txt
File Created: 2017:07:28:13:58:48
Last Updated: 2009:08:31:14:42:36