• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6RETR
7PRET
8</keywords>
9</info>
10# Server-side
11<reply>
12
13<servercmd>
14REPLY PRET 550 unknown command
15</servercmd>
16</reply>
17
18# Client-side
19<client>
20<server>
21ftp
22</server>
23 <name>
24FTP RETR PASV with PRET not supported
25 </name>
26 <command>
27ftp://%HOSTIP:%FTPPORT/1108 --ftp-pret
28</command>
29
30</client>
31
32# Verify data after the test has been "shot"
33<verify>
34<protocol>
35USER anonymous
36PASS ftp@example.com
37PWD
38PRET RETR 1108
39</protocol>
40# we expect that the server doesn't understand PRET
41<errorcode>
4284
43</errorcode>
44</verify>
45</testcase>
46