curl-w32/docs/cmdline-opts/ftp-pret.md

486 B

c SPDX-License-Identifier Long Help Protocols Added Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl ftp-pret Send PRET before PASV FTP 7.20.0 ftp boolean
ftp-port
ftp-pasv
--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.