deps/curl/tests/data/test127
raw| 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FTP |
| 5 | PASV |
| 6 | RETR |
| 7 | --disable-epsv |
| 8 | </keywords> |
| 9 | </info> |
| 10 | # Server-side |
| 11 | <reply> |
| 12 | <data> |
| 13 | moooooooo |
| 14 | </data> |
| 15 | </reply> |
| 16 | |
| 17 | # Client-side |
| 18 | <client> |
| 19 | <server> |
| 20 | ftp |
| 21 | </server> |
| 22 | <name> |
| 23 | FTP --disable-epsv |
| 24 | </name> |
| 25 | <command> |
| 26 | ftp://%HOSTIP:%FTPPORT/path/to/file/127 --disable-epsv |
| 27 | </command> |
| 28 | </client> |
| 29 | |
| 30 | # Verify data after the test has been "shot" |
| 31 | <verify> |
| 32 | <protocol> |
| 33 | USER anonymous |
| 34 | PASS [email protected] |
| 35 | PWD |
| 36 | CWD path |
| 37 | CWD to |
| 38 | CWD file |
| 39 | PASV |
| 40 | TYPE I |
| 41 | SIZE 127 |
| 42 | RETR 127 |
| 43 | QUIT |
| 44 | </protocol> |
| 45 | </verify> |
| 46 | </testcase> |