quickjs-tart

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

test713 (689B)


      1 <testcase>
      2 #based off test 712
      3 <info>
      4 <keywords>
      5 FTP
      6 PASV
      7 RETR
      8 SOCKS5
      9 CURLOPT_CONNECT_TO
     10 </keywords>
     11 </info>
     12 #
     13 # Server-side
     14 <reply>
     15 <data>
     16 silly content
     17 </data>
     18 </reply>
     19 
     20 #
     21 # Client-side
     22 <client>
     23 <features>
     24 proxy
     25 </features>
     26 <server>
     27 ftp
     28 socks5
     29 </server>
     30 <name>
     31 FTP fetch with --proxy set to socks5:// and with --connect-to
     32 </name>
     33 <command>
     34 ftp://ftp.example.com/%TESTNUMBER --connect-to ::%HOSTIP:%FTPPORT --proxy socks5://%HOSTIP:%SOCKSPORT
     35 </command>
     36 </client>
     37 
     38 #
     39 # Verify data after the test has been "shot"
     40 <verify>
     41 <strip>
     42 QUIT
     43 </strip>
     44 <protocol>
     45 USER anonymous
     46 PASS ftp@example.com
     47 PWD
     48 EPSV
     49 TYPE I
     50 SIZE %TESTNUMBER
     51 RETR %TESTNUMBER
     52 QUIT
     53 </protocol>
     54 </verify>
     55 </testcase>