File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test586
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: CURLOPT_PORT
    7: </keywords>
    8: </info>
    9: #
   10: # Server-side
   11: <reply>
   12: <data>
   13: line 1
   14: line 2
   15: last line
   16: </data>
   17: <datacheck>
   18: [OPEN] counter: 1
   19: [OPEN] counter: 2
   20: line 1
   21: line 2
   22: last line
   23: [CLOSE] counter: 2
   24: [CLOSE] counter: 1
   25: </datacheck>
   26: </reply>
   27: 
   28: #
   29: # Client-side
   30: <client>
   31: <server>
   32: ftp
   33: </server>
   34: <tool>
   35: lib585
   36: </tool>
   37:  <name>
   38: FTP and open/close socket callbacks
   39:  </name>
   40:  <command>
   41: ftp://%HOSTIP:%FTPPORT/586
   42: </command>
   43: </client>
   44: 
   45: #
   46: # Verify data after the test has been "shot"
   47: <verify>
   48: <protocol>
   49: USER anonymous
   50: PASS ftp@example.com
   51: PWD
   52: EPSV
   53: TYPE I
   54: SIZE 586
   55: RETR 586
   56: QUIT
   57: </protocol>
   58: </verify>
   59: </testcase>

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