summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/ftp-pret.d
blob: 453d8cf85871e2a0a9d824b5d6bbe95b4c2b10f9 (plain)
1
2
3
4
5
6
7
8
9
10
Long: ftp-pret
Help: Send PRET before PASV
Protocols: FTP
Added: 7.20.0
Category: ftp
Example: --ftp-pret ftp://example.com/
---
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.