xref: /aosp_15_r20/external/curl/docs/cmdline-opts/ftp-pret.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1---
2c: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3SPDX-License-Identifier: curl
4Long: ftp-pret
5Help: Send PRET before PASV
6Protocols: FTP
7Added: 7.20.0
8Category: ftp
9Multi: boolean
10See-also:
11  - ftp-port
12  - ftp-pasv
13Example:
14  - --ftp-pret ftp://example.com/
15---
16
17# `--ftp-pret`
18
19Send a PRET command before PASV (and EPSV). Certain FTP servers, mainly
20drftpd, require this non-standard command for directory listings as well as up
21and downloads in PASV mode.
22