File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1108
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: PASV
    6: RETR
    7: PRET
    8: </keywords>
    9: </info>
   10: # Server-side
   11: <reply>
   12: 
   13: <servercmd>
   14: REPLY PRET 550 unknown command
   15: </servercmd>
   16: </reply>
   17: 
   18: # Client-side
   19: <client>
   20: <server>
   21: ftp
   22: </server>
   23:  <name>
   24: FTP RETR PASV with PRET not supported
   25:  </name>
   26:  <command>
   27: ftp://%HOSTIP:%FTPPORT/1108 --ftp-pret
   28: </command>
   29: 
   30: </client>
   31: 
   32: # Verify data after the test has been "shot"
   33: <verify>
   34: <protocol>
   35: USER anonymous
   36: PASS ftp@example.com
   37: PWD
   38: PRET RETR 1108
   39: </protocol>
   40: # we expect that the server doesn't understand PRET
   41: <errorcode>
   42: 84
   43: </errorcode>
   44: </verify>
   45: </testcase>

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