quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test476 (717B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 STOR
      7 TYPE A
      8 </keywords>
      9 </info>
     10 
     11 # Client-side
     12 <client>
     13 <server>
     14 ftp
     15 </server>
     16 <name>
     17 FTP PASV upload ASCII file already using CRLF
     18 </name>
     19 <file name="%LOGDIR/test%TESTNUMBER.txt" nonewline="yes">
     20 %repeat[1750 x a line of text used for verifying this !%0d%0a]%
     21 </file>
     22 <command>
     23 "ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=a" -T %LOGDIR/test%TESTNUMBER.txt
     24 </command>
     25 </client>
     26 
     27 # Verify data after the test has been "shot"
     28 <verify>
     29 <strip>
     30 QUIT
     31 </strip>
     32 <upload crlf="yes" nonewline="yes">
     33 %repeat[1750 x a line of text used for verifying this !%0a]%
     34 </upload>
     35 <protocol>
     36 USER anonymous
     37 PASS ftp@example.com
     38 PWD
     39 EPSV
     40 TYPE A
     41 STOR %TESTNUMBER
     42 QUIT
     43 </protocol>
     44 </verify>
     45 </testcase>