![]() |
![]()
| ![]() |
![]()
NAMECURLOPT_TFTP_BLKSIZE - TFTP block size SYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TFTP_BLKSIZE, long blocksize); DESCRIPTIONSpecify blocksize to use for TFTP data transmission. Valid range as per RFC 2348 is 8-65464 bytes. The default of 512 bytes is used if this option is not specified. The specified block size is only used if supported by the remote server. If the server does not return an option acknowledgment or returns an option acknowledgment with no block size, the default of 512 bytes is used. DEFAULT512 PROTOCOLSThis functionality affects tftp only EXAMPLEint main(void) { AVAILABILITYAdded in curl 7.19.4 RETURN VALUEcurl_easy_setopt(3) returns a CURLcode indicating success or error. CURLE_OK (0) means everything was OK, non-zero means an error occurred, see libcurl-errors(3). SEE ALSOCURLOPT_MAXFILESIZE(3)
|