File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test1209
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: PORT
    6: RETR
    7: NODATACONN
    8: </keywords>
    9: </info>
   10: # Server-side
   11: <reply>
   12: <data nocheck="yes">
   13: some bytes
   14: </data>
   15: <servercmd>
   16: NODATACONN
   17: </servercmd>
   18: </reply>
   19: 
   20: # Client-side
   21: <client>
   22: <server>
   23: ftp
   24: </server>
   25:  <name>
   26: FTP PORT download, no data conn and no positive preliminary reply
   27:  </name>
   28:  <command>
   29: --max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1209 -P -
   30: </command>
   31: 
   32: </client>
   33: 
   34: # Verify data after the test has been "shot"
   35: <verify>
   36: <strippart>
   37: s/^EPRT \|1\|(.*)/EPRT \|1\|/
   38: </strippart>
   39: 
   40: # The protocol part does not include QUIT simply because the error is
   41: # CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without
   42: # specifically saying for which connection it concerns, and for timeouts libcurl
   43: # marks the control channel as "invalid". As this test case times out for the
   44: # data connection it could still use the control channel.
   45: <protocol>
   46: USER anonymous
   47: PASS ftp@example.com
   48: PWD
   49: EPRT |1|
   50: TYPE I
   51: SIZE 1209
   52: RETR 1209
   53: </protocol>
   54: <errorcode>
   55: 28
   56: </errorcode>
   57: </verify>
   58: </testcase>

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