xref: /curl/tests/data/test521 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6CURLOPT_PORT
7</keywords>
8</info>
9#
10# Server-side
11<reply>
12<data mode="text">
13total 20
14drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
15drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
16drwxr-xr-x   2 98       98           512 May  2  1996 .NeXT
17-r--r--r--   1 0        1             35 Jul 16  1996 README
18lrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin
19dr-xr-xr-x   2 0        1            512 Oct  1  1997 dev
20drwxrwxrwx   2 98       98           512 May 29 16:04 download.html
21dr-xr-xr-x   2 0        1            512 Nov 30  1995 etc
22drwxrwxrwx   2 98       1            512 Oct 30 14:33 pub
23dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
24</data>
25</reply>
26
27#
28# Client-side
29<client>
30<server>
31ftp
32</server>
33<tool>
34lib%TESTNUMBER
35</tool>
36<name>
37FTP dir list PASV with CURLOPT_PORT
38</name>
39<command>
40ftp://%HOSTIP/%TESTNUMBER/ %FTPPORT
41</command>
42</client>
43
44#
45# Verify data after the test has been "shot"
46<verify>
47<strip>
48QUIT
49</strip>
50<protocol>
51USER xxx
52PASS yyy
53PWD
54CWD %TESTNUMBER
55EPSV
56TYPE A
57LIST
58QUIT
59</protocol>
60</verify>
61</testcase>
62