summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/ftp-pret.d
blob: 8d9d7749c5d541bbfd5580230306d5d44cbb3717 (plain)
1
2
3
4
5
6
7
8
9
10
11
Long: ftp-pret
Help: Send PRET before PASV
Protocols: FTP
Added: 7.20.0
Category: ftp
Example: --ftp-pret ftp://example.com/
See-also: ftp-port ftp-pasv
---
Tell curl to send a PRET command before PASV (and EPSV). Certain FTP servers,
mainly drftpd, require this non-standard command for directory listings as
well as up and downloads in PASV mode.