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
/
test340
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
PASV
6
CWD
7
--ftp-method
8
singlecwd
9
</keywords>
10
</info>
11
#
12
# Server-side
13
<reply>
14
</reply>
15
16
# Client-side
17
<client>
18
<server>
19
ftp
20
</server>
21
<name>
22
FTP using %00 in path with singlecwd
23
</name>
24
<command>
25
--ftp-method singlecwd ftp://%HOSTIP:%FTPPORT/%00first/second/third/340
26
</command>
27
</client>
28
29
# Verify data after the test has been "shot"
30
<verify>
31
<protocol>
32
USER anonymous
33
PASS ftp@example.com
34
PWD
35
</protocol>
36
<errorcode>
37
3
38
</errorcode>
39
</verify>
40
</testcase>