quickjs-tart

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

test520 (598B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 <data>
     12 contents of file
     13 </data>
     14 <servercmd>
     15 REPLY MDTM 213 20030405060708
     16 </servercmd>
     17 </reply>
     18 
     19 # Client-side
     20 <client>
     21 <server>
     22 ftp
     23 </server>
     24 # tool is what to use instead of 'curl'
     25 <tool>
     26 lib520
     27 </tool>
     28 
     29 <name>
     30 FTP RETR with FILETIME
     31 </name>
     32 <command>
     33 ftp://%HOSTIP:%FTPPORT/520
     34 </command>
     35 </client>
     36 
     37 #
     38 # Verify data after the test has been "shot"
     39 <verify>
     40 <strip>
     41 QUIT
     42 </strip>
     43 
     44 <protocol>
     45 USER anonymous
     46 PASS ftp@example.com
     47 PWD
     48 MDTM 520
     49 EPSV
     50 TYPE I
     51 SIZE 520
     52 RETR 520
     53 QUIT
     54 </protocol>
     55 </verify>
     56 </testcase>