xref: /curl/docs/cmdline-opts/ftp-pret.md (revision e7219c2b)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, 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