File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test574
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, 6 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: <testcase>
    2: <info>
    3: <keywords>
    4: FTP
    5: LIST
    6: RETR
    7: wildcardmatch
    8: ftplistparser
    9: </keywords>
   10: </info>
   11: 
   12: #
   13: # Server-side
   14: <reply>
   15: <data mode="text">
   16: </data>
   17: </reply>
   18: 
   19: # Client-side
   20: <client>
   21: <server>
   22: ftp
   23: </server>
   24: <tool>
   25: lib574
   26: </tool>
   27: <name>
   28: FTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)
   29: </name>
   30: <command>
   31: ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*.txt
   32: </command>
   33: </client>
   34: 
   35: ############################################
   36: # Verify data after the test has been "shot"
   37: <verify>
   38: <errorcode>
   39: 0
   40: </errorcode>
   41: # THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
   42: <protocol>
   43: USER anonymous
   44: PASS ftp@example.com
   45: PWD
   46: CWD fully_simulated
   47: CWD UNIX
   48: EPSV
   49: TYPE A
   50: LIST
   51: EPSV
   52: TYPE I
   53: RETR chmod1
   54: EPSV
   55: RETR chmod2
   56: EPSV
   57: RETR chmod3
   58: EPSV
   59: RETR empty_file.dat
   60: EPSV
   61: RETR file.txt
   62: EPSV
   63: RETR someothertext.txt
   64: CWD /
   65: CWD fully_simulated
   66: CWD UNIX
   67: EPSV
   68: TYPE A
   69: LIST
   70: EPSV
   71: TYPE I
   72: RETR chmod1
   73: EPSV
   74: RETR chmod2
   75: EPSV
   76: RETR chmod3
   77: EPSV
   78: RETR empty_file.dat
   79: EPSV
   80: RETR file.txt
   81: EPSV
   82: RETR someothertext.txt
   83: QUIT
   84: </protocol>
   85: <stdout>
   86: This file should have permissions 444
   87: This file should have permissions 666
   88: This file should have permissions 777
   89: This is content of file "file.txt"
   90: Some junk ;-) This file does not really exist.
   91: This file should have permissions 444
   92: This file should have permissions 666
   93: This file should have permissions 777
   94: This is content of file "file.txt"
   95: Some junk ;-) This file does not really exist.
   96: </stdout>
   97: </verify>
   98: </testcase>

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