verify that transferring a zero byte FTP file results in a zero byte local
file
This commit is contained in:
35
tests/data/test182
Normal file
35
tests/data/test182
Normal file
@@ -0,0 +1,35 @@
|
||||
# Server-side
|
||||
<reply>
|
||||
<data sendzero=yes>
|
||||
</data>
|
||||
<size>
|
||||
0
|
||||
</size>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
ftp
|
||||
</server>
|
||||
<name>
|
||||
FTP download an empty file
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/182
|
||||
</command>
|
||||
</test>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS curl_by_daniel@haxx.se
|
||||
PWD
|
||||
EPSV
|
||||
TYPE I
|
||||
SIZE 182
|
||||
RETR 182
|
||||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
||||
Reference in New Issue
Block a user