xref: /aosp_15_r20/external/curl/docs/cmdline-opts/tftp-blksize.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: tftp-blksize
5*6236dae4SAndroid Build Coastguard WorkerArg: <value>
6*6236dae4SAndroid Build Coastguard WorkerHelp: Set TFTP BLKSIZE option
7*6236dae4SAndroid Build Coastguard WorkerProtocols: TFTP
8*6236dae4SAndroid Build Coastguard WorkerAdded: 7.20.0
9*6236dae4SAndroid Build Coastguard WorkerCategory: tftp
10*6236dae4SAndroid Build Coastguard WorkerMulti: single
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - tftp-no-options
13*6236dae4SAndroid Build Coastguard WorkerExample:
14*6236dae4SAndroid Build Coastguard Worker  - --tftp-blksize 1024 tftp://example.com/file
15*6236dae4SAndroid Build Coastguard Worker---
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker# `--tftp-blksize`
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard WorkerSet the TFTP **BLKSIZE** option (must be 512 or larger). This is the block
20*6236dae4SAndroid Build Coastguard Workersize that curl tries to use when transferring data to or from a TFTP
21*6236dae4SAndroid Build Coastguard Workerserver. By default 512 bytes are used.
22