Get

SUB Get ( [ TargetFile AS String ] )

This method performs a call to the http server using the standard 'GET' method. Prior to use it you have to fill the URL property with the desired host name and document to retrieve.

If TargetFile is not specified, data received from server is stored in memory, and you can access to the document using standard stream methods or the Peek method.

If TargetFile is specified, data received from server will be saved in the file specified, and will be not available in the memory buffer.