4 # 2013-10-17 Andrea Urbani (matfanjol)
6 # - the response of SYST command is
7 # 215 Unknown ftp service
8 # - the response of "LIST -a" command is an empty
10 # wget should use "LIST -a" then "LIST" to get the right
19 ###############################################################################
29 $afile =~ s/\n/\r\n/g;
30 $bfile =~ s/\n/\r\n/g;
32 # code, msg, headers, content
42 my $cmdline = $WgetTest::WGETPATH . " --no-directories --recursive --level=1 --accept \"?file.txt\" ftp://localhost:{{port}}/";
44 my $expected_error_code = 0;
46 my %expected_downloaded_files = (
55 ###############################################################################
57 my $the_test = FTPTest->new (name => "Test-ftp-list-Unknown",
60 errcode => $expected_error_code,
61 output => \%expected_downloaded_files,
62 server_behavior => {list_empty_if_list_a => 1,
63 syst_response => "215 Unknown ftp service"});
64 exit $the_test->run();