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