lavv17 / lftp

sophisticated command line file transfer program (ftp, http, sftp, fish, torrent)
http://lftp.yar.ru
GNU General Public License v3.0
1.1k stars 161 forks source link

Using PRET without FEAT #582

Closed sn0opy closed 4 years ago

sn0opy commented 4 years ago

It looks like, that lftp does not use PRET eventhough ftp:use-pret is enabled while ftp:use-feat is disabled. The FTP server does properly announce, that it does support PRET while asking for available features.

It doesn't hurt to use the FEAT command, but is this a bug or is there any reason behind it not using PRET eventhough I enabled it?

lavv17 commented 4 years ago

Probably the setting should be made ternary with auto as the default.

On Wed, 25 Mar 2020 at 12:56, Sascha Ohms notifications@github.com wrote:

It looks like, that lftp does not actually use PRET eventhough ftp:use-pret is enabled while ftp:use-feat is disabled. The FTP server does properly announce, that it does support PRET while asking for available features.

It doesn't hurt to use the FEAT command, but is this a but or is there any reason behind it not using PRET eventhough I enabled it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lavv17/lftp/issues/582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHLWXD3UYQS4D5HUK4SDH3RJHILTANCNFSM4LTKJ7IQ .

-- Alexander.