h1-mod/deps/curl/tests/data/test1037
2024-03-07 00:54:32 -05:00

55 lines
701 B
Plaintext

<testcase>
<info>
<keywords>
FTP
PASV
RETR
Resume
</keywords>
</info>
# Server-side
<reply>
<data nocheck="yes">
expected to be a file without the first part
but we emulate that
</data>
<size>
65
</size>
<servercmd>
REPLY EPSV 500 no such command
</servercmd>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP download resume from end of empty file
</name>
<command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C -
</command>
<file name="%LOGDIR/curl%TESTNUMBER.out">
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
EPSV
PASV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>