blob: f31cc562595a11bb3d504355a2dc305ff39080bc [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: ftp-pret
4Help: Send PRET before PASV
5Protocols: FTP
6Added: 7.20.0
7Category: ftp
8Example: --ftp-pret ftp://example.com/
9See-also: ftp-port ftp-pasv
10Multi: boolean
11---
12Tell curl to send a PRET command before PASV (and EPSV). Certain FTP servers,
13mainly drftpd, require this non-standard command for directory listings as
14well as up and downloads in PASV mode.