Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 RETR
      6 LIST
      7 wildcardmatch
      8 ftplistparser
      9 flaky
     10 </keywords>
     11 </info>
     12 
     13 #
     14 # Server-side
     15 <reply>
     16 <data>
     17 </data>
     18 </reply>
     19 
     20 # Client-side
     21 <client>
     22 <server>
     23 ftp
     24 </server>
     25 <tool>
     26 lib574
     27 </tool>
     28 <name>
     29 FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)
     30 </name>
     31 <command>
     32 "ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt"
     33 </command>
     34 </client>
     35 
     36 ############################################
     37 # Verify data after the test has been "shot"
     38 <verify>
     39 <errorcode>
     40 0
     41 </errorcode>
     42 # THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
     43 <protocol>
     44 USER anonymous
     45 PASS ftp (a] example.com
     46 PWD
     47 CWD fully_simulated
     48 CWD DOS
     49 EPSV
     50 TYPE A
     51 LIST
     52 EPSV
     53 TYPE I
     54 RETR chmod1
     55 EPSV
     56 RETR chmod2
     57 EPSV
     58 RETR chmod3
     59 EPSV
     60 RETR empty_file.dat
     61 EPSV
     62 RETR file.txt
     63 EPSV
     64 RETR someothertext.txt
     65 CWD /
     66 CWD fully_simulated
     67 CWD DOS
     68 EPSV
     69 TYPE A
     70 LIST
     71 EPSV
     72 TYPE I
     73 RETR chmod1
     74 EPSV
     75 RETR chmod2
     76 EPSV
     77 RETR chmod3
     78 EPSV
     79 RETR empty_file.dat
     80 EPSV
     81 RETR file.txt
     82 EPSV
     83 RETR someothertext.txt
     84 QUIT
     85 </protocol>
     86 <stdout>
     87 This file should have permissions 444
     88 This file should have permissions 666
     89 This file should have permissions 777
     90 This is content of file "file.txt"
     91 Some junk ;-) This file does not really exist.
     92 This file should have permissions 444
     93 This file should have permissions 666
     94 This file should have permissions 777
     95 This is content of file "file.txt"
     96 Some junk ;-) This file does not really exist.
     97 </stdout>
     98 </verify>
     99 </testcase>
    100