Xbasic
Extension::CurlFile Class
IN THIS PAGE
Description
Object to represent a file or memory stream for uploading or downloading content using the Curl class.
Methods
- Clear Method
Clear curl file object (close files, clear content).
- GetContent Method
Returns content of memory stream.
- GetHeaders Method
Get headers (requires SetHeaderFlag called with true).
- SetBinaryMode Method
Sets the binary mode (write binary data to the socket).
- SetContent Method
Sets Content of memory stream.
- SetFilename Method
Sets filename, if this is a disk based file.
- SetHeaderFlag Method
Sets the header flag (save headers for request).
- TrackProgress Method
Use IO rather than curl to track progress.
See Also