Project

General

Profile

Up

_networkSetHTTPget

Prepare an HTTP GET request.

Prototype :

fun [ObjNetwork S W] ObjNetwork

  • ObjNetwork : a network object created with _networkCreate.

  • S : an url (like "http://www.example.com/file.ext", "http://user:password@192.168.0.25", pop3://user:password@mail.domain.tld). It must be in the format : protocol://host:port/path. If the port is not given, the default port is determined from the specified protocol (80 http, 25 smtp, ...)

  • W : a write-reference file to save the received content.The old content, if any, will be overwritten, be careful. Can be nil.

Return : ObjNetwork the same object or nil if error.

See also :

_networkCBdownload

Example :

Note :