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
/
test1102
1
<testcase>
2
<info>
3
<keywords>
4
FTP
5
SYST
6
SITE
7
OS400
8
</keywords>
9
</info>
10
# Server-side
11
<reply>
12
<data nocheck="yes">
13
blabla
14
</data>
15
<servercmd>
16
REPLY PWD 257 "QGPL" is the current library
17
REPLY SYST 215 OS/400 runs this server
18
REPLY SITE 250 Name format set to 1
19
</servercmd>
20
</reply>
21
22
# Client-side
23
<client>
24
<server>
25
ftp
26
</server>
27
<name>
28
FTP OS/400 server name format check
29
</name>
30
<command>
31
ftp://%HOSTIP:%FTPPORT/1102
32
</command>
33
</client>
34
35
# Verify data after the test has been "shot"
36
<verify>
37
<protocol>
38
USER anonymous
39
PASS ftp@example.com
40
PWD
41
SYST
42
SITE NAMEFMT 1
43
PWD
44
EPSV
45
TYPE I
46
SIZE 1102
47
RETR 1102
48
QUIT
49
</protocol>
50
</verify>
51
</testcase>