4 # 2013-10-17 Andrea Urbani (matfanjol)
6 # - the response of SYST command is
7 # 215 UNIX MultiNet Unix Emulation V5.3(93)
8 # - the response of "LIST -a" command is an empty
10 # wget should use directly the "LIST" command to get
11 # the right content, but it will be ok also "LIST -a"
12 # if followed by "LIST" (in the case of future changes).
21 ###############################################################################
31 $afile =~ s/\n/\r\n/g;
32 $bfile =~ s/\n/\r\n/g;
34 # code, msg, headers, content
44 my $cmdline = $WgetTest::WGETPATH . " --no-directories --recursive --level=1 --accept \"?file.txt\" ftp://localhost:{{port}}/";
46 my $expected_error_code = 0;
48 my %expected_downloaded_files = (
57 ###############################################################################
59 my $the_test = FTPTest->new (name => "Test-ftp-list-Multinet",
62 errcode => $expected_error_code,
63 output => \%expected_downloaded_files,
64 server_behavior => {list_empty_if_list_a => 1,
65 syst_response => "215 UNIX MultiNet Unix Emulation V5.3(93)"});
66 exit $the_test->run();