xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | FTP | ||||
5 | EPSV | ||||
6 | STOR | ||||
7 | </keywords> | ||||
8 | </info> | ||||
9 | |||||
10 | <reply> | ||||
11 | <servercmd> | ||||
12 | STOR 552 disk full | ||||
13 | </servercmd> | ||||
14 | </reply> | ||||
15 | |||||
16 | # Client-side | ||||
17 | <client> | ||||
18 | <server> | ||||
19 | ftp | ||||
20 | </server> | ||||
21 | <name> | ||||
22 | FTP upload file with 552 disk full response | ||||
23 | </name> | ||||
24 | <file name="log/test%TESTNUMBER.txt"> | ||||
25 | data | ||||
26 | to | ||||
27 | see | ||||
28 | that FTP | ||||
29 | works | ||||
30 | so does it? | ||||
31 | </file> | ||||
32 | <command> | ||||
33 | ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt | ||||
34 | </command> | ||||
35 | </client> | ||||
36 | |||||
37 | # Verify data after the test has been "shot" | ||||
38 | <verify> | ||||
39 | <upload> | ||||
40 | data | ||||
41 | to | ||||
42 | see | ||||
43 | that FTP | ||||
44 | works | ||||
45 | so does it? | ||||
46 | </upload> | ||||
47 | <protocol> | ||||
48 | USER anonymous | ||||
49 | PASS ftp@example.com | ||||
50 | PWD | ||||
51 | EPSV | ||||
52 | TYPE I | ||||
53 | STOR %TESTNUMBER | ||||
54 | QUIT | ||||
55 | </protocol> | ||||
56 | # 70 - CURLE_REMOTE_DISK_FULL | ||||
57 | <errorcode> | ||||
58 | 70 | ||||
59 | </errorcode> | ||||
60 | </verify> | ||||
61 | </testcase> |