Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionInFileSize

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionInFileSize"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The input size. 1234

Result

Returns "OK" on success.

Description

Sets the file input size.
When uploading a file to a remote site, this option should be used to tell libcurl what the expected size of the infile is. This value should be passed as a long. See also CURL.SetOptionInFileLarge.

For uploading using SCP, this option or CURL.SetOptionInFileLarge is mandatory.

When sending emails using SMTP, this command can be used to specify the optional SIZE parameter for the MAIL FROM command.
This option does not limit how much data libcurl will actually send, as that is controlled entirely by what the input data.
Our CURL.SetInputText and other input functions also set the file size.

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Pfarrgemeinde Messdiener Nickenich