iw7-mod/deps/curl/docs/cmdline-opts/ftp-pret.md

22 lines
486 B
Markdown
Raw Normal View History

2024-08-13 05:15:34 -04:00
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: ftp-pret
Help: Send PRET before PASV
Protocols: FTP
Added: 7.20.0
Category: ftp
Multi: boolean
See-also:
- ftp-port
- ftp-pasv
Example:
- --ftp-pret ftp://example.com/
---
# `--ftp-pret`
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.