Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 STOR
      7 --crlf
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 </reply>
     13 
     14 # Client-side
     15 <client>
     16 <server>
     17 ftp
     18 </server>
     19  <name>
     20 FTP upload with --crlf
     21  </name>
     22  <command>
     23 ftp://%HOSTIP:%FTPPORT/128 -T log/upload128 --crlf
     24 </command>
     25 <file name="log/upload128">
     26 file
     27 with unix newlines
     28 meant to be
     29 converted
     30 with
     31 the
     32 --crlf option
     33 </file>
     34 </client>
     35 
     36 # Verify data after the test has been "shot"
     37 <verify>
     38 <protocol>
     39 USER anonymous
     40 PASS ftp (a] example.com
     41 PWD
     42 EPSV
     43 TYPE I
     44 STOR 128
     45 QUIT
     46 </protocol>
     47 <upload>
     48 file
     49 with unix newlines
     50 meant to be
     51 converted
     52 with
     53 the
     54 --crlf option
     55 </upload>
     56 </verify>
     57 </testcase>
     58