TFPCustomHTTPClient.SimpleFileFormPost¶
Static method to perform a simple file upload form POST
Declaration¶
Source position: fphttpclient.pp line 386
public
class procedure TFPCustomHTTPClient.SimpleFileFormPost
(const AURL: string;
const AFieldName: string;
const AFileName: string;
const Response: TStream);
Description¶
Static utility method for performing a simple file upload form POST request without requiring an HTTP client instance. Uses multipart/form-data encoding for the file upload.
Errors¶
May raise HTTP-related exceptions on connection errors.
See also¶
| Name | Description |
|---|---|
| FileFormPost | Performs an HTTP POST request with file upload |