UrlConnection Class
The UrlConnection class provides methods for transferring data and files from and to URLs, supporting different transport protocols such as HTTP(s), (S)FTP, SCP, and SMTP.
It wraps calls to functions of the
libcurl library.
On a typical connection:
1. Several options are set using attributes InputFile, InputObject, OutputFile, OutputObject and methods SetOption and SetOptions.
2. A Perform() method invocation is used to actually execute the transfer to or from the URL (which must be one of the options set before).
3. The GetInfo() method invocations can be used to get information about the Perform() operation executed.
You may execute multiple Perform() method invocations on the same UrlConnection object; it is possible to change options between Perform() invocations.
Inherits From
Inherited By
None
Attributes
Errortext
InputFile
InputObject
OutputFile
OutputObject
Methods
GetInfo
Perform
ResetOptions
SetOption
SetOptions
Last modified date: 12/20/2023