Debian Codegraph @

curl/tests/data/test521

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