Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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