projects
/
platform
/
upstream
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 7.59.0
[platform/upstream/curl.git]
/
tests
/
data
/
test1108
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
PASV
6
RETR
7
PRET
8
</keywords>
9
</info>
10
# Server-side
11
<reply>
12
13
<servercmd>
14
REPLY PRET 550 unkown command
15
</servercmd>
16
</reply>
17
18
# Client-side
19
<client>
20
<server>
21
ftp
22
</server>
23
<name>
24
FTP RETR PASV with PRET not supported
25
</name>
26
<command>
27
ftp://%HOSTIP:%FTPPORT/1108 --ftp-pret
28
</command>
29
30
</client>
31
32
# Verify data after the test has been "shot"
33
<verify>
34
<protocol>
35
USER anonymous
36
PASS ftp@example.com
37
PWD
38
PRET RETR 1108
39
</protocol>
40
# we expect that the server doesn't understand PRET
41
<errorcode>
42
84
43
</errorcode>
44
</verify>
45
</testcase>