NETWEBGET with proxy

Previous topic - Next topic

FutureCow

Please allow the number of bytes to be retrieved by NETWEBGET to be specified when used with a proxy.

Also, can there be a way to specify the username and password for the proxy server?

When testing a NETWEBGET through my proxy server here (requires username and password) I get a access denied error as username and password were not supplied.

Kitty Hello

NETWEBGET$ can do that.

FutureCow

What is the format for the command please? It's not documented.

Kitty Hello

It's in the manual of NET...
BTW: Did anyone split the NET commands in several chapters in the English help?
Code (glbasic) Select

contents$ = NETWEBGET$(server$, path$, port%, max_length%)


FutureCow

#4
I updated the NETWEBGET page to include the different forms of the command and examples for each. Is that what you're talking about? Sorry if I did something wrong!!!!  :'(
I followed the way it was done (i.e. using the <2> tags) as per the main NET... page. I've changed them to <b> in case the <2>'s were causing problems.

FutureCow

Also, for the example you've given that doesn't have the parameter to allow you to put in the proxy server.
I'm looking for a combination that allows a proxy AND a set number of characters.

Kitty Hello

It was fine. I just didn't do that in the German thing, yet.

The commands are identical. One uses the outpath as 4th parameter, one the length of bytes to read. Params 1-3 are the same.