FTP test case data

This commit is contained in:
Daniel Stenberg 2000-11-21 19:20:14 +00:00
parent c938166520
commit 2677c27b08
42 changed files with 102 additions and 2 deletions

View File

@ -0,0 +1 @@
ftp://%HOSTIP:%FTPPORT/a/path/103 --head

View File

@ -0,0 +1,2 @@
ftp://userdude:passfellow@%HOSTIP:%FTPPORT/103 --use-ascii

View File

@ -0,0 +1,2 @@
"ftp://%HOSTIP:%FTPPORT//path%20with%20%20spaces/and%20things2/106;type=A"

View File

@ -0,0 +1 @@
ftp://%HOSTIP:%FTPPORT/107 -T data/reply106.txt

View File

@ -0,0 +1 @@
ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/108 -T data/reply106.txt -P -

View File

@ -0,0 +1 @@
ftp://%HOSTIP:%FTPPORT/109 -T data/reply106.txt --append

View File

@ -0,0 +1 @@
ftp://%HOSTIP:%FTPPORT/110 -C 20

View File

@ -0,0 +1 @@
ftp://%HOSTIP:%FTPPORT/110 -C 2000

View File

@ -0,0 +1 @@
ftp://%HOSTIP:%FTPPORT/112 -T data/reply106.txt -C 40

1
tests/data/error111.txt Normal file
View File

@ -0,0 +1 @@
36

View File

@ -1,2 +1 @@
FTP dir list, PORT with specified IP

1
tests/data/name104.txt Normal file
View File

@ -0,0 +1 @@
FTP --head to get file size only

1
tests/data/name105.txt Normal file
View File

@ -0,0 +1 @@
FTP user+password in URL and ASCII transfer

1
tests/data/name106.txt Normal file
View File

@ -0,0 +1 @@
FTP GET with type=A style ASCII URL using %20 codes

1
tests/data/name107.txt Normal file
View File

@ -0,0 +1 @@
FTP PASV upload file

1
tests/data/name108.txt Normal file
View File

@ -0,0 +1 @@
FTP PORT upload with CWD

1
tests/data/name109.txt Normal file
View File

@ -0,0 +1 @@
FTP PASV upload append

1
tests/data/name110.txt Normal file
View File

@ -0,0 +1 @@
FTP download resume with set limit

1
tests/data/name111.txt Normal file
View File

@ -0,0 +1 @@
FTP download resume beyond file size

1
tests/data/name112.txt Normal file
View File

@ -0,0 +1 @@
FTP PASV upload resume

View File

@ -1,6 +1,6 @@
USER anonymous
PASS curl_by_daniel@haxx.se
CWD a/path/
CWD a/path
PORT 127,0,0,1,246,33
TYPE I
RETR 103

5
tests/data/prot104.txt Normal file
View File

@ -0,0 +1,5 @@
USER anonymous
PASS curl_by_daniel@haxx.se
CWD a/path
TYPE I
SIZE 103

5
tests/data/prot105.txt Normal file
View File

@ -0,0 +1,5 @@
USER userdude
PASS passfellow
PASV
TYPE A
RETR 103

6
tests/data/prot106.txt Normal file
View File

@ -0,0 +1,6 @@
USER anonymous
PASS curl_by_daniel@haxx.se
CWD /path with spaces/and things2
PASV
TYPE A
RETR 106

5
tests/data/prot107.txt Normal file
View File

@ -0,0 +1,5 @@
USER anonymous
PASS curl_by_daniel@haxx.se
PASV
TYPE I
STOR 107

6
tests/data/prot108.txt Normal file
View File

@ -0,0 +1,6 @@
USER anonymous
PASS curl_by_daniel@haxx.se
CWD CWD/STOR/RETR
PORT 127,0,0,1,5,109
TYPE I
STOR 108

5
tests/data/prot109.txt Normal file
View File

@ -0,0 +1,5 @@
USER anonymous
PASS curl_by_daniel@haxx.se
PASV
TYPE I
APPE 109

7
tests/data/prot110.txt Normal file
View File

@ -0,0 +1,7 @@
USER anonymous
PASS curl_by_daniel@haxx.se
PASV
TYPE I
SIZE 110
REST 20
RETR 110

5
tests/data/prot112.txt Normal file
View File

@ -0,0 +1,5 @@
USER anonymous
PASS curl_by_daniel@haxx.se
PASV
TYPE I
APPE 112

1
tests/data/reply104.txt Normal file
View File

@ -0,0 +1 @@
Content-Length: 51

6
tests/data/reply105.txt Normal file
View File

@ -0,0 +1,6 @@
data
to
see
that FTP
works
so does it?

6
tests/data/reply106.txt Normal file
View File

@ -0,0 +1,6 @@
data
to
see
that FTP
works
so does it?

2
tests/data/reply110.txt Normal file
View File

@ -0,0 +1,2 @@
expected to be a file without the first part
but we emulate that

0
tests/data/stdout107.txt Normal file
View File

0
tests/data/stdout108.txt Normal file
View File

0
tests/data/stdout109.txt Normal file
View File

2
tests/data/stdout110.txt Normal file
View File

@ -0,0 +1,2 @@
e without the first part
but we emulate that

0
tests/data/stdout112.txt Normal file
View File

6
tests/data/upload107.txt Normal file
View File

@ -0,0 +1,6 @@
data
to
see
that FTP
works
so does it?

6
tests/data/upload108.txt Normal file
View File

@ -0,0 +1,6 @@
data
to
see
that FTP
works
so does it?

6
tests/data/upload109.txt Normal file
View File

@ -0,0 +1,6 @@
data
to
see
that FTP
works
so does it?

1
tests/data/upload112.txt Normal file
View File

@ -0,0 +1 @@
o does it?