deps/curl/tests/data/test1091
raw| 1 | <testcase> |
| 2 | # based on test 143 |
| 3 | <info> |
| 4 | <keywords> |
| 5 | FTP |
| 6 | RETR |
| 7 | type= |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data> |
| 14 | bla bla bla |
| 15 | </data> |
| 16 | </reply> |
| 17 | |
| 18 | # Client-side |
| 19 | <client> |
| 20 | <server> |
| 21 | ftp |
| 22 | </server> |
| 23 | <name> |
| 24 | FTP URL with type=i |
| 25 | </name> |
| 26 | <command> |
| 27 | "ftp://%HOSTIP:%FTPPORT/%2ftmp/moo/1091;type=i" --use-ascii |
| 28 | </command> |
| 29 | </client> |
| 30 | |
| 31 | # Verify data after the test has been "shot" |
| 32 | <verify> |
| 33 | <protocol> |
| 34 | USER anonymous |
| 35 | PASS [email protected] |
| 36 | PWD |
| 37 | CWD / |
| 38 | CWD tmp |
| 39 | CWD moo |
| 40 | EPSV |
| 41 | TYPE I |
| 42 | SIZE 1091 |
| 43 | RETR 1091 |
| 44 | QUIT |
| 45 | </protocol> |
| 46 | </verify> |
| 47 | </testcase> |