File: test231

package info (click to toggle)
curl 7.15.5-1etch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 9,400 kB
  • ctags: 5,904
  • sloc: ansic: 47,247; sh: 9,209; perl: 3,486; makefile: 630; cpp: 178; awk: 40; lisp: 33
file content (57 lines) | stat: -rw-r--r-- 824 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<info>
<keywords>
FTP
3rd party
</keywords>
</info>
#
# Server-side
<reply>
<data nocheck=1>
contents of source file 231
</data>
</reply>

#
# Client-side
<client>
<server>
ftp
ftp2
</server>
 <name>
FTP 3rd party transfer, make target use PORT
 </name>
 <command>
ftp://%HOSTIP:%FTPPORT/dest/destpath/231 -u daniel:stenberg --3p-url ftp://%HOSTIP:%FTP2PORT/source/sourcepath/231 --3p-user daniel2:stenberg2 -P -
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
# target-side protocol check
<strippart>>
s/^(PORT 127,0,0,1).*/$1/
</strippart>
<protocol>
USER daniel
PASS stenberg
PWD
TYPE I
CWD dest
CWD destpath
PORT 127,0,0,1
STOR 231
QUIT
</protocol>
<file name="log/server2.input">
USER daniel2
PASS stenberg2
PWD
TYPE I
PASV
RETR source/sourcepath/231
QUIT
</file>
</verify>