xref: /curl/tests/data/test236 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8# Server-side
9<reply>
10<servercmd>
11REPLY SIZE 550 access to this file is very much denied
12REPLY APPE 550 I said: access to this file is very much denied
13REPLY STOR 550 I said: access to this file is very much denied
14REPLY SIZE 500 command not understood
15</servercmd>
16</reply>
17
18# Client-side
19<client>
20<server>
21ftp
22</server>
23<name>
24FTP resume upload but denied access to remote file
25</name>
26<command>
27ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/file%TESTNUMBER.txt -C -
28</command>
29<file name="%LOGDIR/file%TESTNUMBER.txt">
30Test data
31</file>
32</client>
33
34# Verify data after the test has been "shot"
35<verify>
36
37<protocol>
38USER anonymous
39PASS ftp@example.com
40PWD
41EPSV
42TYPE I
43SIZE %TESTNUMBER
44STOR %TESTNUMBER
45QUIT
46</protocol>
47
48#  (25) Failed FTP upload: 550
49<errorcode>
5025
51</errorcode>
52</verify>
53</testcase>
54