repo.or.cz
/
CMakeLuaTailorHgBridge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Resync
[CMakeLuaTailorHgBridge.git]
/
CMakeLua
/
Utilities
/
cmcurl-7.19.0
/
tests
/
data
/
test505
blob
5e19f8cdd6bb55374ec7d7d90c60841927ccec21
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
50
PASS ftp@example.com
51
PWD
52
EPSV
53
TYPE I
54
STOR 505
55
RNFR 505
56
RNTO 505-forreal
57
QUIT
58
</protocol>
59
</verify>
60
</testcase>