Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 ACCT
      6 </keywords>
      7 </info>
      8 # Server-side
      9 <reply>
     10 <data>
     11 data
     12     to
     13       see
     14 that FTP
     15 works
     16   so does it?
     17 </data>
     18 <servercmd>
     19 REPLY PASS 332 please provide account name
     20 REPLY ACCT 230 thank you
     21 </servercmd>
     22 </reply>
     23 
     24 # Client-side
     25 <client>
     26 <server>
     27 ftp
     28 </server>
     29  <name>
     30 FTP RETR with ACCT
     31  </name>
     32  <command>
     33 ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count"
     34 </command>
     35 </client>
     36 
     37 
     38 # Verify data after the test has been "shot"
     39 <verify>
     40 <protocol>
     41 USER anonymous
     42 PASS ftp (a] example.com
     43 ACCT one count
     44 PWD
     45 EPSV
     46 TYPE I
     47 SIZE 228
     48 RETR 228
     49 QUIT
     50 </protocol>
     51 </verify>
     52 </testcase>
     53