Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1039
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 EPSV
6 APPE
7 Resume
8 </keywords>
9 </info>
10 # Server-side
11 <reply>
12 <size>
13 0
14 </size>
15 </reply>
16
17 # Client-side
18 <client>
19 <server>
20 ftp
21 </server>
22  <name>
23 FTP PASV upload resume from end of empty file
24  </name>
25  <command>
26 ftp://%HOSTIP:%FTPPORT/1039 -T log/upload1039 -C -
27 </command>
28 <file name="log/upload1039">
29 this is the *****cr@p******** that we're gonna upload
30
31 worx?
32 </file>
33 </client>
34
35 # Verify data after the test has been "shot"
36 <verify>
37 <protocol>
38 USER anonymous
39 PASS ftp@example.com
40 PWD
41 EPSV
42 TYPE I
43 SIZE 1039
44 STOR 1039
45 QUIT
46 </protocol>
47 <upload>
48 this is the *****cr@p******** that we're gonna upload
49
50 worx?
51 </upload>
52 </verify>
53 </testcase>