1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-04 08:35:05 -05:00
curl/tests/data/test211
Daniel Stenberg cfdcae4bc7 Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPE
command on subsequent requests on a re-used connection unless it has to.
2006-08-19 21:18:36 +00:00

47 lines
606 B
Plaintext

# Server-side
<reply>
<data>
data blobb
</data>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<name>
Get two FTP files with no remote EPSV support
</name>
<command>
ftp://%HOSTIP:%FTPPORT/a/path/211 ftp://%HOSTIP:%FTPPORT/a/path/211
</command>
<file name="log/ftpserver.cmd">
REPLY EPSV 500 no such command
</file>
<stdout>
data blobb
data blobb
</stdout>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
CWD a
CWD path
EPSV
PASV
TYPE I
SIZE 211
RETR 211
PASV
SIZE 211
RETR 211
QUIT
</protocol>
</verify>