Return to test1414 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: FTP ! 5: PORT ! 6: RETR ! 7: no SIZE ! 8: </keywords> ! 9: </info> ! 10: # Server-side ! 11: <reply> ! 12: <data> ! 13: data ! 14: to ! 15: see ! 16: that FTP ! 17: works ! 18: so does it? ! 19: </data> ! 20: <servercmd> ! 21: REPLY SIZE 502 no such command ! 22: REPLY EPRT 502 no such command ! 23: </servercmd> ! 24: </reply> ! 25: ! 26: # Client-side ! 27: <client> ! 28: <server> ! 29: ftp ! 30: </server> ! 31: <name> ! 32: FTP PORT without SIZE or EPRT support ! 33: </name> ! 34: <command> ! 35: ftp://%HOSTIP:%FTPPORT/1414 -P - ! 36: </command> ! 37: </client> ! 38: ! 39: # Verify data after the test has been "shot" ! 40: <verify> ! 41: <strippart> ! 42: s/^(EPRT \|1\|)(.*)/$1/ ! 43: s/^(PORT)(.*)/$1/ ! 44: </strippart> ! 45: <protocol> ! 46: USER anonymous ! 47: PASS ftp@example.com ! 48: PWD ! 49: EPRT |1| ! 50: PORT ! 51: TYPE I ! 52: SIZE 1414 ! 53: RETR 1414 ! 54: QUIT ! 55: </protocol> ! 56: </verify> ! 57: </testcase>