quickjs-tart

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

test105 (630B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 TYPE A
      7 RETR
      8 </keywords>
      9 </info>
     10 # Server-side
     11 <reply>
     12 <data>
     13 data
     14     to
     15       see
     16 that FTP
     17 works
     18   so does it?
     19 </data>
     20 <servercmd>
     21 REPLY EPSV 500 no such command
     22 </servercmd>
     23 </reply>
     24 
     25 # Client-side
     26 <client>
     27 <server>
     28 ftp
     29 </server>
     30 <name>
     31 FTP user+password in URL and ASCII transfer
     32 </name>
     33 <command>
     34 ftp://userdude:passfellow@%HOSTIP:%FTPPORT/%TESTNUMBER --use-ascii
     35 </command>
     36 </client>
     37 
     38 # Verify data after the test has been "shot"
     39 <verify>
     40 <strip>
     41 QUIT
     42 </strip>
     43 <protocol>
     44 USER userdude
     45 PASS passfellow
     46 PWD
     47 EPSV
     48 PASV
     49 TYPE A
     50 RETR %TESTNUMBER
     51 QUIT
     52 </protocol>
     53 </verify>
     54 </testcase>