File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test236
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: </keywords>
    6: </info>
    7: 
    8: # Server-side
    9: <reply>
   10: <servercmd>
   11: REPLY SIZE 550 access to this file is very much denied
   12: REPLY APPE 550 I said: access to this file is very much denied
   13: REPLY STOR 550 I said: access to this file is very much denied
   14: </servercmd>
   15: </reply>
   16: 
   17: # Client-side
   18: <client>
   19: <server>
   20: ftp
   21: </server>
   22:  <name>
   23: FTP resume upload but denied access to remote file
   24:  </name>
   25:  <command>
   26: ftp://%HOSTIP:%FTPPORT/236 -T log/file236.txt -C -
   27: </command>
   28: <file name="log/file236.txt">
   29: Test data
   30: </file>
   31: </client>
   32: 
   33: # Verify data after the test has been "shot"
   34: <verify>
   35: 
   36: <protocol>
   37: USER anonymous
   38: PASS ftp@example.com
   39: PWD
   40: EPSV
   41: TYPE I
   42: SIZE 236
   43: STOR 236
   44: QUIT
   45: </protocol>
   46: 
   47: #  (25) Failed FTP upload: 550
   48: <errorcode>
   49: 25
   50: </errorcode>
   51: </verify>
   52: </testcase>

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