quickjs-tart

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

test351 (1093B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FTP
      5 PASV
      6 LIST
      7 </keywords>
      8 </info>
      9 #
     10 # Server-side
     11 <reply>
     12 <data mode="text">
     13 total 20
     14 drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
     15 drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
     16 drwxr-xr-x   2 98       98           512 May  2  1996 .NeXT
     17 -r--r--r--   1 0        1             35 Jul 16  1996 README
     18 lrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin
     19 dr-xr-xr-x   2 0        1            512 Oct  1  1997 dev
     20 drwxrwxrwx   2 98       98           512 May 29 16:04 download.html
     21 dr-xr-xr-x   2 0        1            512 Nov 30  1995 etc
     22 drwxrwxrwx   2 98       1            512 Oct 30 14:33 pub
     23 dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
     24 </data>
     25 </reply>
     26 
     27 #
     28 # Client-side
     29 <client>
     30 <server>
     31 ftp
     32 </server>
     33 <name>
     34 FTP root dir list nocwd
     35 </name>
     36 <command>
     37 ftp://%HOSTIP:%FTPPORT// --ftp-method nocwd
     38 </command>
     39 </client>
     40 
     41 #
     42 # Verify data after the test has been "shot"
     43 <verify>
     44 <strip>
     45 QUIT
     46 </strip>
     47 <protocol>
     48 USER anonymous
     49 PASS ftp@example.com
     50 PWD
     51 EPSV
     52 TYPE A
     53 LIST /
     54 QUIT
     55 </protocol>
     56 </verify>
     57 </testcase>