quickjs-tart

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

test107 (617B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 EPSV
      6 STOR
      7 </keywords>
      8 </info>
      9 
     10 # Client-side
     11 <client>
     12 <server>
     13 ftp
     14 </server>
     15 <name>
     16 FTP PASV upload file
     17 </name>
     18 <file name="%LOGDIR/test%TESTNUMBER.txt">
     19 data
     20     to
     21       see
     22 that FTP
     23 works
     24   so does it?
     25 </file>
     26 <command>
     27 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -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>
     37 data
     38     to
     39       see
     40 that FTP
     41 works
     42   so does it?
     43 </upload>
     44 <protocol>
     45 USER anonymous
     46 PASS ftp@example.com
     47 PWD
     48 EPSV
     49 TYPE I
     50 STOR %TESTNUMBER
     51 QUIT
     52 </protocol>
     53 </verify>
     54 </testcase>