Annotation of embedaddon/curl/tests/data/test1233, revision 1.1.1.1

1.1       misho       1: <testcase>
                      2: <info>
                      3: <keywords>
                      4: FTP
                      5: connect to non-listen
                      6: </keywords>
                      7: </info>
                      8: 
                      9: # Server-side
                     10: <reply>
                     11: <servercmd>
                     12: # Assuming there's nothing listening on port 1
                     13: REPLY EPSV 229 Entering Passiv Mode (|||1|)
                     14: </servercmd>
                     15: <data>
                     16: here are some bytes
                     17: </data>
                     18: </reply>
                     19: 
                     20: # Client-side
                     21: <client>
                     22: <server>
                     23: ftp
                     24: </server>
                     25:  <name>
                     26: FTP failing to connect to EPSV port, switching to PASV
                     27:  </name>
                     28:  <command>
                     29: ftp://%HOSTIP:%FTPPORT/1233
                     30: </command>
                     31: </client>
                     32: 
                     33: # Verify data after the test has been "shot"
                     34: <verify>
                     35: <protocol>
                     36: USER anonymous
                     37: PASS ftp@example.com
                     38: PWD
                     39: EPSV
                     40: PASV
                     41: TYPE I
                     42: SIZE 1233
                     43: RETR 1233
                     44: QUIT
                     45: </protocol>
                     46: </verify>
                     47: </testcase>

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