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.53.1
[platform/upstream/curl.git]
/
tests
/
data
/
test238
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
</keywords>
6
</info>
7
8
# Server-side
9
<reply>
10
<servercmd>
11
REPLY EPSV 229 Entering Passiv Mode (|||1000000|)
12
</servercmd>
13
</reply>
14
15
# Client-side
16
<client>
17
<server>
18
ftp
19
</server>
20
<name>
21
FTP getting bad port in response to EPSV
22
</name>
23
<command>
24
ftp://%HOSTIP:%FTPPORT/238
25
</command>
26
</client>
27
28
# Verify data after the test has been "shot"
29
<verify>
30
# 13 = CURLE_FTP_WEIRD_PASV_REPLY
31
<errorcode>
32
13
33
</errorcode>
34
<protocol>
35
USER anonymous
\r
36
PASS ftp@example.com
\r
37
PWD
\r
38
EPSV
\r
39
QUIT
\r
40
</protocol>
41
</verify>
42
</testcase>