~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to tests/data/test231

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-16 15:16:54 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20070516151654-x9nkigtr2j0i8d0v
Tags: upstream-7.16.2
ImportĀ upstreamĀ versionĀ 7.16.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<info>
2
 
<keywords>
3
 
FTP
4
 
3rd party
5
 
</keywords>
6
 
</info>
7
 
#
8
 
# Server-side
9
 
<reply>
10
 
<data nocheck=1>
11
 
contents of source file 231
12
 
</data>
13
 
</reply>
14
 
 
15
 
#
16
 
# Client-side
17
 
<client>
18
 
<server>
19
 
ftp
20
 
ftp2
21
 
</server>
22
 
 <name>
23
 
FTP 3rd party transfer, make target use PORT
24
 
 </name>
25
 
 <command>
26
 
ftp://%HOSTIP:%FTPPORT/dest/destpath/231 -u daniel:stenberg --3p-url ftp://%HOSTIP:%FTP2PORT/source/sourcepath/231 --3p-user daniel2:stenberg2 -P -
27
 
</command>
28
 
</client>
29
 
 
30
 
#
31
 
# Verify data after the test has been "shot"
32
 
<verify>
33
 
# target-side protocol check
34
 
<strippart>>
35
 
s/^(PORT 127,0,0,1).*/$1/
36
 
</strippart>
37
 
<protocol>
38
 
USER daniel
39
 
PASS stenberg
40
 
PWD
41
 
TYPE I
42
 
CWD dest
43
 
CWD destpath
44
 
PORT 127,0,0,1
45
 
STOR 231
46
 
QUIT
47
 
</protocol>
48
 
<file name="log/server2.input">
49
 
USER daniel2
50
 
PASS stenberg2
51
 
PWD
52
 
TYPE I
53
 
PASV
54
 
RETR source/sourcepath/231
55
 
QUIT
56
 
</file>
57
 
</verify>