Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 TYPE A
      7 RETR
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data>
     13 data
     14     to
     15       see
     16 that FTP
     17 works
     18   so does it?
     19 </data>
     20 <servercmd>
     21 REPLY EPSV 500 no such command
     22 REPLY SIZE 500 no such command
     23 </servercmd>
     24 </reply>
     25 
     26 # Client-side
     27 <client>
     28 <server>
     29 ftp
     30 </server>
     31  <name>
     32 FTP user+password in URL and ASCII transfer
     33  </name>
     34  <command>
     35 ftp://userdude:passfellow@%HOSTIP:%FTPPORT/105 --use-ascii
     36 </command>
     37 </client>
     38 
     39 # Verify data after the test has been "shot"
     40 <verify>
     41 <protocol>
     42 USER userdude
     43 PASS passfellow
     44 PWD
     45 EPSV
     46 PASV
     47 TYPE A
     48 SIZE 105
     49 RETR 105
     50 QUIT
     51 </protocol>
     52 </verify>
     53 </testcase>
     54