1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

verify that curl fails fine when an FTP URL with a too deep dir hierarchy

is used
This commit is contained in:
Daniel Stenberg 2003-04-30 20:07:37 +00:00
parent 3ef06d7efe
commit 6932e94e0e

27
tests/data/test142 Normal file
View File

@ -0,0 +1,27 @@
# Server-side
<reply>
<data>
</data>
</reply>
# Client-side
<client>
<name>
FTP URL with too deep (100+) dir hierarchy
</name>
<command>
ftp://%HOSTIP:%FTPPORT/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/b
</command>
</test>
# Verify data after the test has been "shot"
<verify>
<errorcode>
3
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
</protocol>
</verify>