4 # 2013-10-17 Andrea Urbani (matfanjol)
6 # - the response of "LIST -a" command is a failure
7 # wget should use "LIST -a" then "LIST" to get the right
16 ###############################################################################
26 $afile =~ s/\n/\r\n/g;
27 $bfile =~ s/\n/\r\n/g;
29 # code, msg, headers, content
39 my $cmdline = $WgetTest::WGETPATH . " --no-directories --recursive --level=1 --accept \"?file.txt\" ftp://localhost:{{port}}/";
41 my $expected_error_code = 0;
43 my %expected_downloaded_files = (
52 ###############################################################################
54 my $the_test = FTPTest->new (name => "Test-ftp-list-Unknown-list-a-fails",
57 errcode => $expected_error_code,
58 output => \%expected_downloaded_files,
59 server_behavior => {list_fails_if_list_a => 1,
60 syst_response => "215 Unknown ftp service"});
61 exit $the_test->run();