Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

CURL.SetOptionTFTPBlockSize

Specify block size to use for TFTP data transmission.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionTFTPBlockSize"; curl; Value )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Block size for TFTP 512

Result

Returns "OK" on success.

Description

Specify block size to use for TFTP data transmission.
Valid range as per RFC 2348 is 8-65464 bytes. The default of 512 bytes will be used if this option is not specified. The specified block size will only be used pending support by the remote server. If the server does not return an option acknowledgement or returns an option acknowledgement with no blksize, the default of 512 bytes will be used.

See also TFTP_BLKSIZE option in CURL manual.

See also

Created 18th August 2014, last changed 18th August 2014


CURL.SetOptionTCPNoDelay - CURL.SetOptionTFTPNoOptions

Feedback: Report problem or ask question.