]> git.ipfire.org Git - thirdparty/curl.git/commit
ftp: add 'list_only' to the transfer state struct
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Feb 2021 15:40:34 +0000 (16:40 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 9 Feb 2021 13:06:28 +0000 (14:06 +0100)
commit528f71c2ecdbb03117af226978804148d69a1007
tree1345d18162135945aff7657f539071c6b4019437
parent115c9e27f53809a254fba44b023bea92f4d4dcd0
ftp: add 'list_only' to the transfer state struct

and rename it from 'ftp_list_only' since it is also used for SSH and
POP3. The state is updated internally for 'type=D' FTP URLs.

Added test case 1570 to verify.

Closes #6578
lib/ftp.c
lib/pop3.c
lib/setopt.c
lib/transfer.c
lib/urldata.h
lib/vssh/libssh.c
lib/vssh/libssh2.c
lib/vssh/wolfssh.c
tests/data/Makefile.inc
tests/data/test1570 [new file with mode: 0644]