quickjs-tart

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

test698 (740B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 ACCT
      6 </keywords>
      7 </info>
      8 # Server-side
      9 <reply>
     10 <data>
     11 data
     12     to
     13       see
     14 that FTP
     15 works
     16   so does it?
     17 </data>
     18 <servercmd>
     19 REPLY PASS 332 please provide account name
     20 REPLY ACCT 230 thank you
     21 </servercmd>
     22 </reply>
     23 
     24 # Client-side
     25 <client>
     26 <server>
     27 ftp
     28 </server>
     29 <name>
     30 FTP with ACCT and connection reuse
     31 </name>
     32 <command>
     33 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-account "one count" ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
     34 </command>
     35 </client>
     36 
     37 
     38 # Verify data after the test has been "shot"
     39 <verify>
     40 <strip>
     41 QUIT
     42 </strip>
     43 <protocol>
     44 USER anonymous
     45 PASS ftp@example.com
     46 ACCT one count
     47 PWD
     48 EPSV
     49 TYPE I
     50 SIZE %TESTNUMBER
     51 RETR %TESTNUMBER
     52 EPSV
     53 SIZE %TESTNUMBER
     54 RETR %TESTNUMBER
     55 QUIT
     56 </protocol>
     57 </verify>
     58 </testcase>