easy:SetOpt_FTP_Use_Pret -- enable the PRET command
Synopsis
easy:SetOpt_FTP_Use_Pret(enable)
Function
Pass a value. If the value is 1, it tells 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. Has
no effect when using the active FTP transfers mode.