• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6RETR
7FAILURE
8</keywords>
9</info>
10# Server-side
11<reply>
12<servercmd>
13REPLY RETR 550 no such file!
14REPLY SIZE 500 command not understood
15</servercmd>
16</reply>
17
18# Client-side
19<client>
20<server>
21ftp
22</server>
23 <name>
24Two FTP downloads, with failed RETR but re-used control connection
25 </name>
26 <command>
27ftp://%HOSTIP:%FTPPORT/dir/1096 ftp://%HOSTIP:%FTPPORT/dir/1096
28</command>
29</client>
30
31# Verify data after the test has been "shot"
32<verify>
33<errorcode>
3478
35</errorcode>
36<protocol>
37USER anonymous
38PASS ftp@example.com
39PWD
40CWD dir
41EPSV
42TYPE I
43SIZE 1096
44RETR 1096
45EPSV
46SIZE 1096
47RETR 1096
48QUIT
49</protocol>
50</verify>
51</testcase>
52