quickjs-tart

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

test562 (763B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 RETR
      7 </keywords>
      8 </info>
      9 # Server-side
     10 <reply>
     11 <data>
     12 silly data
     13 over FTP
     14 </data>
     15 </reply>
     16 
     17 # Client-side
     18 <client>
     19 <server>
     20 ftp
     21 </server>
     22 <tool>
     23 lib%TESTNUMBER
     24 </tool>
     25 <name>
     26 FTP a type=A URL and CURLOPT_PORT set
     27 </name>
     28 
     29 # note that we need quotes around the URL below to make sure the shell doesn't
     30 # treat the semicolon as a separator!
     31 <command>
     32 'ftp://%HOSTIP:23456/%TESTNUMBER;type=A' %FTPPORT
     33 </command>
     34 
     35 </client>
     36 
     37 # Verify data after the test has been "shot"
     38 #
     39 # There's no MTDM in the protocol here since this code doesn't ask for the
     40 # time/date of the file
     41 <verify>
     42 <strip>
     43 QUIT
     44 </strip>
     45 <protocol>
     46 USER anonymous
     47 PASS ftp@example.com
     48 PWD
     49 EPSV
     50 TYPE A
     51 RETR %TESTNUMBER
     52 QUIT
     53 </protocol>
     54 </verify>
     55 </testcase>