xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | FTP |
| 5 | CURLE_PARTIAL_FILE |
| 6 | RETR |
| 7 | PASV |
| 8 | </keywords> |
| 9 | </info> |
| 10 | <reply> |
| 11 | <data> |
| 12 | 1oooooooooooooooooooooooooooooooooooooooooo2 |
| 13 | </data> |
| 14 | <size> |
| 15 | 10928 |
| 16 | </size> |
| 17 | </reply> |
| 18 | |
| 19 | # Client-side |
| 20 | <client> |
| 21 | <server> |
| 22 | ftp |
| 23 | </server> |
| 24 | <name> |
| 25 | FTP RETR PASV |
| 26 | </name> |
| 27 | <command> |
| 28 | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER |
| 29 | </command> |
| 30 | </client> |
| 31 | |
| 32 | |
| 33 | # Verify data after the test has been "shot" |
| 34 | <verify> |
| 35 | # This doesn't send QUIT because of known bug: |
| 36 | # "7.8 Premature transfer end but healthy control channel" |
| 37 | <protocol> |
| 38 | USER anonymous
|
| 39 | PASS ftp@example.com
|
| 40 | PWD
|
| 41 | EPSV
|
| 42 | TYPE I
|
| 43 | SIZE %TESTNUMBER
|
| 44 | RETR %TESTNUMBER
|
| 45 | </protocol> |
| 46 | # CURLE_PARTIAL_FILE = 18 |
| 47 | <errorcode> |
| 48 | 18 |
| 49 | </errorcode> |
| 50 | </verify> |
| 51 | </testcase> |