quickjs-tart

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

test475 (782B)


      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
     18 </name>
     19 <file name="%LOGDIR/test%TESTNUMBER.txt" nonewline="yes">
     20 %if win32
     21 %repeat[1750 x a line of text used for verifying this !%0d%0a]%
     22 %else
     23 %repeat[1750 x a line of text used for verifying this !%0a]%
     24 %endif
     25 </file>
     26 <command>
     27 "ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=a" -T %LOGDIR/test%TESTNUMBER.txt
     28 </command>
     29 </client>
     30 
     31 # Verify data after the test has been "shot"
     32 <verify>
     33 <strip>
     34 QUIT
     35 </strip>
     36 <upload crlf="yes" nonewline="yes">
     37 %repeat[1750 x a line of text used for verifying this !%0a]%
     38 </upload>
     39 <protocol>
     40 USER anonymous
     41 PASS ftp@example.com
     42 PWD
     43 EPSV
     44 TYPE A
     45 STOR %TESTNUMBER
     46 QUIT
     47 </protocol>
     48 </verify>
     49 </testcase>