deps/curl/tests/data/test661
raw| 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FTP |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | <data> |
| 12 | </data> |
| 13 | </reply> |
| 14 | |
| 15 | # Client-side |
| 16 | <client> |
| 17 | <server> |
| 18 | ftp |
| 19 | </server> |
| 20 | # tool is what to use instead of 'curl' |
| 21 | <tool> |
| 22 | lib661 |
| 23 | </tool> |
| 24 | |
| 25 | <name> |
| 26 | Avoid redundant CWDs |
| 27 | </name> |
| 28 | <command> |
| 29 | ftp://%HOSTIP:%FTPPORT/ |
| 30 | </command> |
| 31 | </client> |
| 32 | |
| 33 | # |
| 34 | # Verify data after the test has been "shot" |
| 35 | <verify> |
| 36 | <protocol> |
| 37 | USER anonymous |
| 38 | PASS [email protected] |
| 39 | PWD |
| 40 | CWD /folderA |
| 41 | EPSV |
| 42 | TYPE I |
| 43 | RETR 661 |
| 44 | CWD /folderB |
| 45 | EPSV |
| 46 | RETR 661 |
| 47 | QUIT |
| 48 | USER anonymous |
| 49 | PASS [email protected] |
| 50 | PWD |
| 51 | EPSV |
| 52 | TYPE I |
| 53 | RETR /folderA/661 |
| 54 | CWD /folderB |
| 55 | EPSV |
| 56 | RETR 661 |
| 57 | EPSV |
| 58 | RETR /folderA/661 |
| 59 | QUIT |
| 60 | USER anonymous |
| 61 | PASS [email protected] |
| 62 | PWD |
| 63 | SYST |
| 64 | QUIT |
| 65 | USER anonymous |
| 66 | PASS [email protected] |
| 67 | PWD |
| 68 | SYST |
| 69 | SYST |
| 70 | QUIT |
| 71 | </protocol> |
| 72 | </verify> |
| 73 | </testcase> |