FTP test case data
This commit is contained in:
parent
c938166520
commit
2677c27b08
1
tests/data/command104.txt
Normal file
1
tests/data/command104.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://%HOSTIP:%FTPPORT/a/path/103 --head
|
2
tests/data/command105.txt
Normal file
2
tests/data/command105.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ftp://userdude:passfellow@%HOSTIP:%FTPPORT/103 --use-ascii
|
||||||
|
|
2
tests/data/command106.txt
Normal file
2
tests/data/command106.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
"ftp://%HOSTIP:%FTPPORT//path%20with%20%20spaces/and%20things2/106;type=A"
|
||||||
|
|
1
tests/data/command107.txt
Normal file
1
tests/data/command107.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://%HOSTIP:%FTPPORT/107 -T data/reply106.txt
|
1
tests/data/command108.txt
Normal file
1
tests/data/command108.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/108 -T data/reply106.txt -P -
|
1
tests/data/command109.txt
Normal file
1
tests/data/command109.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://%HOSTIP:%FTPPORT/109 -T data/reply106.txt --append
|
1
tests/data/command110.txt
Normal file
1
tests/data/command110.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://%HOSTIP:%FTPPORT/110 -C 20
|
1
tests/data/command111.txt
Normal file
1
tests/data/command111.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://%HOSTIP:%FTPPORT/110 -C 2000
|
1
tests/data/command112.txt
Normal file
1
tests/data/command112.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://%HOSTIP:%FTPPORT/112 -T data/reply106.txt -C 40
|
1
tests/data/error111.txt
Normal file
1
tests/data/error111.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
36
|
@ -1,2 +1 @@
|
|||||||
FTP dir list, PORT with specified IP
|
FTP dir list, PORT with specified IP
|
||||||
|
|
||||||
|
1
tests/data/name104.txt
Normal file
1
tests/data/name104.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
FTP --head to get file size only
|
1
tests/data/name105.txt
Normal file
1
tests/data/name105.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
FTP user+password in URL and ASCII transfer
|
1
tests/data/name106.txt
Normal file
1
tests/data/name106.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
FTP GET with type=A style ASCII URL using %20 codes
|
1
tests/data/name107.txt
Normal file
1
tests/data/name107.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
FTP PASV upload file
|
1
tests/data/name108.txt
Normal file
1
tests/data/name108.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
FTP PORT upload with CWD
|
1
tests/data/name109.txt
Normal file
1
tests/data/name109.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
FTP PASV upload append
|
1
tests/data/name110.txt
Normal file
1
tests/data/name110.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
FTP download resume with set limit
|
1
tests/data/name111.txt
Normal file
1
tests/data/name111.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
FTP download resume beyond file size
|
1
tests/data/name112.txt
Normal file
1
tests/data/name112.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
FTP PASV upload resume
|
@ -1,6 +1,6 @@
|
|||||||
USER anonymous
|
USER anonymous
|
||||||
PASS curl_by_daniel@haxx.se
|
PASS curl_by_daniel@haxx.se
|
||||||
CWD a/path/
|
CWD a/path
|
||||||
PORT 127,0,0,1,246,33
|
PORT 127,0,0,1,246,33
|
||||||
TYPE I
|
TYPE I
|
||||||
RETR 103
|
RETR 103
|
||||||
|
5
tests/data/prot104.txt
Normal file
5
tests/data/prot104.txt
Normal 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
5
tests/data/prot105.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
USER userdude
|
||||||
|
PASS passfellow
|
||||||
|
PASV
|
||||||
|
TYPE A
|
||||||
|
RETR 103
|
6
tests/data/prot106.txt
Normal file
6
tests/data/prot106.txt
Normal 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
5
tests/data/prot107.txt
Normal 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
6
tests/data/prot108.txt
Normal 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
5
tests/data/prot109.txt
Normal 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
7
tests/data/prot110.txt
Normal 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
5
tests/data/prot112.txt
Normal 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
1
tests/data/reply104.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Content-Length: 51
|
6
tests/data/reply105.txt
Normal file
6
tests/data/reply105.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
data
|
||||||
|
to
|
||||||
|
see
|
||||||
|
that FTP
|
||||||
|
works
|
||||||
|
so does it?
|
6
tests/data/reply106.txt
Normal file
6
tests/data/reply106.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
data
|
||||||
|
to
|
||||||
|
see
|
||||||
|
that FTP
|
||||||
|
works
|
||||||
|
so does it?
|
2
tests/data/reply110.txt
Normal file
2
tests/data/reply110.txt
Normal 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
0
tests/data/stdout107.txt
Normal file
0
tests/data/stdout108.txt
Normal file
0
tests/data/stdout108.txt
Normal file
0
tests/data/stdout109.txt
Normal file
0
tests/data/stdout109.txt
Normal file
2
tests/data/stdout110.txt
Normal file
2
tests/data/stdout110.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
e without the first part
|
||||||
|
but we emulate that
|
0
tests/data/stdout112.txt
Normal file
0
tests/data/stdout112.txt
Normal file
6
tests/data/upload107.txt
Normal file
6
tests/data/upload107.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
data
|
||||||
|
to
|
||||||
|
see
|
||||||
|
that FTP
|
||||||
|
works
|
||||||
|
so does it?
|
6
tests/data/upload108.txt
Normal file
6
tests/data/upload108.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
data
|
||||||
|
to
|
||||||
|
see
|
||||||
|
that FTP
|
||||||
|
works
|
||||||
|
so does it?
|
6
tests/data/upload109.txt
Normal file
6
tests/data/upload109.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
data
|
||||||
|
to
|
||||||
|
see
|
||||||
|
that FTP
|
||||||
|
works
|
||||||
|
so does it?
|
1
tests/data/upload112.txt
Normal file
1
tests/data/upload112.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
o does it?
|
Loading…
x
Reference in New Issue
Block a user