| xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | <testcase> | 
| 2 | <info> | ||||
| 3 | <keywords> | ||||
| 4 | FTP | ||||
| 5 | FTPS | ||||
| 6 | PASV | ||||
| 7 | RETR | ||||
| 8 | </keywords> | ||||
| 9 | </info> | ||||
| 10 | |||||
| 11 | # Server-side | ||||
| 12 | <reply> | ||||
| 13 | <data> | ||||
| 14 | data blobb | ||||
| 15 | </data> | ||||
| 16 | |||||
| 17 | # data is sent to stdout | ||||
| 18 | </reply> | ||||
| 19 | |||||
| 20 | # Client-side | ||||
| 21 | <client> | ||||
| 22 | <features> | ||||
| 23 | SSL | ||||
| 24 | </features> | ||||
| 25 | <server> | ||||
| 26 | ftps | ||||
| 27 | </server> | ||||
| 28 | <name> | ||||
| 29 | Get two FTPS files from the same remote dir: no second CWD | ||||
| 30 | </name> | ||||
| 31 | <command> | ||||
| 32 | -k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/a/path/%TESTNUMBER ftps://%HOSTIP:%FTPSPORT/a/path/%TESTNUMBER | ||||
| 33 | </command> | ||||
| 34 | <stdout> | ||||
| 35 | data blobb | ||||
| 36 | data blobb | ||||
| 37 | </stdout> | ||||
| 38 | </client> | ||||
| 39 | |||||
| 40 | # Verify data after the test has been "shot" | ||||
| 41 | <verify> | ||||
| 42 | <protocol> | ||||
| 43 | USER anonymous | ||||
| 44 | PASS ftp@example.com | ||||
| 45 | PBSZ 0 | ||||
| 46 | PROT C | ||||
| 47 | PWD | ||||
| 48 | CWD a | ||||
| 49 | CWD path | ||||
| 50 | EPSV | ||||
| 51 | TYPE I | ||||
| 52 | SIZE %TESTNUMBER | ||||
| 53 | RETR %TESTNUMBER | ||||
| 54 | EPSV | ||||
| 55 | SIZE %TESTNUMBER | ||||
| 56 | RETR %TESTNUMBER | ||||
| 57 | QUIT | ||||
| 58 | </protocol> | ||||
| 59 | </verify> | ||||
| 60 | </testcase> | ||||