projects
/
external
/
curl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Git init
[external/curl.git]
/
tests
/
data
/
test505
1
<testcase>
2
# Server-side
3
<reply>
4
</reply>
5
6
# Client-side
7
<client>
8
<server>
9
ftp
10
</server>
11
# tool is what to use instead of 'curl'
12
<tool>
13
lib505
14
</tool>
15
16
<name>
17
FTP upload with rename after transfer
18
</name>
19
<command>
20
ftp://%HOSTIP:%FTPPORT/505 log/upload505
21
</command>
22
<file name="log/upload505">
23
Contents
24
of
25
a file
26
to verify
27
ftp
28
upload
29
30
31
works?
32
</file>
33
</client>
34
35
# Verify data after the test has been "shot"
36
<verify>
37
<upload>
38
Contents
39
of
40
a file
41
to verify
42
ftp
43
upload
44
45
46
works?
47
</upload>
48
<protocol>
49
USER anonymous
\r
50
PASS ftp@example.com
\r
51
PWD
\r
52
EPSV
\r
53
TYPE I
\r
54
STOR 505
\r
55
RNFR 505
\r
56
RNTO 505-forreal
\r
57
QUIT
\r
58
</protocol>
59
</verify>
60
</testcase>