Git init
[external/curl.git] / tests / data / test250
1 <testcase>
2 #
3 # Server-side
4 <reply>
5 # When doing LIST, we get the default list output hard-coded in the test
6 # FTP server
7 <datacheck>
8 total 20
9 drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
10 drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
11 drwxr-xr-x   2 98       98           512 May  2  1996 .NeXT
12 -r--r--r--   1 0        1             35 Jul 16  1996 README
13 lrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin
14 dr-xr-xr-x   2 0        1            512 Oct  1  1997 dev
15 drwxrwxrwx   2 98       98           512 May 29 16:04 download.html
16 dr-xr-xr-x   2 0        1            512 Nov 30  1995 etc
17 drwxrwxrwx   2 98       1            512 Oct 30 14:33 pub
18 dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
19 </datacheck>
20 <servercmd>
21 SLOWDOWN
22 </servercmd>
23 </reply>
24
25 #
26 # Client-side
27 <client>
28 <server>
29 ftp
30 </server>
31  <name>
32 FTP dir list PASV with slow response
33  </name>
34  <command>
35 ftp://%HOSTIP:%FTPPORT/
36 </command>
37 </client>
38
39 #
40 # Verify data after the test has been "shot"
41 <verify>
42 <protocol>
43 USER anonymous\r
44 PASS ftp@example.com\r
45 PWD\r
46 EPSV\r
47 TYPE A\r
48 LIST\r
49 QUIT\r
50 </protocol>
51 </verify>
52 </testcase>