File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test403
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: <testcase>
    2: <info>
    3: <keywords>
    4: FTP
    5: FTPS
    6: PASV
    7: LIST
    8: CCC
    9: FAILURE
   10: </keywords>
   11: </info>
   12: #
   13: # Server-side
   14: <reply>
   15: # When doing LIST, we get the default list output hard-coded in the test
   16: # FTPS server
   17: <datacheck mode="text">
   18: total 20
   19: drwxr-xr-x   8 98       98           512 Oct 22 13:06 .
   20: drwxr-xr-x   8 98       98           512 Oct 22 13:06 ..
   21: drwxr-xr-x   2 98       98           512 May  2  1996 .NeXT
   22: -r--r--r--   1 0        1             35 Jul 16  1996 README
   23: lrwxrwxrwx   1 0        1              7 Dec  9  1999 bin -> usr/bin
   24: dr-xr-xr-x   2 0        1            512 Oct  1  1997 dev
   25: drwxrwxrwx   2 98       98           512 May 29 16:04 download.html
   26: dr-xr-xr-x   2 0        1            512 Nov 30  1995 etc
   27: drwxrwxrwx   2 98       1            512 Oct 30 14:33 pub
   28: dr-xr-xr-x   5 0        1            512 Oct  1  1997 usr
   29: </datacheck>
   30: </reply>
   31: 
   32: #
   33: # Client-side
   34: <client>
   35: <features>
   36: SSL
   37: </features>
   38: <server>
   39: ftps
   40: </server>
   41:  <name>
   42: FTPS with CCC not supported by server
   43:  </name>
   44:  <command>
   45: -k --ftp-ssl-control --ftp-ssl-ccc ftps://%HOSTIP:%FTPSPORT/
   46: </command>
   47: </client>
   48: 
   49: #
   50: # Verify data after the test has been "shot"
   51: <verify>
   52: <protocol>
   53: USER anonymous
   54: PASS ftp@example.com
   55: PBSZ 0
   56: PROT C
   57: CCC
   58: PWD
   59: EPSV
   60: TYPE A
   61: LIST
   62: QUIT
   63: </protocol>
   64: </verify>
   65: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>