Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 LIST
      7 </keywords>
      8 </info>
      9 #
     10 # Server-side
     11 <reply>
     12 <servercmd>
     13 REPLY PWD 257 "/""hello"""
     14 </servercmd>
     15 
     16 # When doing LIST, we get the default list output hard-coded in the test
     17 # FTP server
     18 <data mode="text">
     19 total 20
     20 drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
     21 drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
     22 drwxr-xr-x   2 98       98           512 May  2  1996 curl-releases
     23 -r--r--r--   1 0        1             35 Jul 16  1996 README
     24 lrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin
     25 dr-xr-xr-x   2 0        1            512 Oct  1  1997 dev
     26 drwxrwxrwx   2 98       98           512 May 29 16:04 download.html
     27 dr-xr-xr-x   2 0        1            512 Nov 30  1995 etc
     28 drwxrwxrwx   2 98       1            512 Oct 30 14:33 pub
     29 dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
     30 </data>
     31 </reply>
     32 
     33 #
     34 # Client-side
     35 <client>
     36 <server>
     37 ftp
     38 </server>
     39  <name>
     40 FTP with quoted double quotes
     41  </name>
     42  <command>
     43 ftp://%HOSTIP:%FTPPORT/test-1153/
     44 </command>
     45 </client>
     46 
     47 #
     48 # Verify data after the test has been "shot"
     49 <verify>
     50 <protocol>
     51 USER anonymous
     52 PASS ftp (a] example.com
     53 PWD
     54 CWD test-1153
     55 EPSV
     56 TYPE A
     57 LIST
     58 QUIT
     59 </protocol>
     60 </verify>
     61 </testcase>
     62