xref: /aosp_15_r20/external/curl/docs/cmdline-opts/ftp-ssl-ccc-mode.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: ftp-ssl-ccc-mode
5*6236dae4SAndroid Build Coastguard WorkerArg: <active/passive>
6*6236dae4SAndroid Build Coastguard WorkerHelp: Set CCC mode
7*6236dae4SAndroid Build Coastguard WorkerProtocols: FTP
8*6236dae4SAndroid Build Coastguard WorkerAdded: 7.16.2
9*6236dae4SAndroid Build Coastguard WorkerCategory: ftp tls
10*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
11*6236dae4SAndroid Build Coastguard WorkerSee-also:
12*6236dae4SAndroid Build Coastguard Worker  - ftp-ssl-ccc
13*6236dae4SAndroid Build Coastguard WorkerExample:
14*6236dae4SAndroid Build Coastguard Worker  - --ftp-ssl-ccc-mode active --ftp-ssl-ccc ftps://example.com/
15*6236dae4SAndroid Build Coastguard Worker---
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker# `--ftp-ssl-ccc-mode`
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard WorkerSets the CCC mode. The passive mode does not initiate the shutdown, but
20*6236dae4SAndroid Build Coastguard Workerinstead waits for the server to do it, and does not reply to the shutdown from
21*6236dae4SAndroid Build Coastguard Workerthe server. The active mode initiates the shutdown and waits for a reply from
22*6236dae4SAndroid Build Coastguard Workerthe server.
23