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

added test 128, ftp upload with --crlf

This commit is contained in:
Daniel Stenberg 2002-03-20 10:50:12 +00:00
parent eb0f727818
commit f1f993a25b
2 changed files with 44 additions and 1 deletions

View File

@ -15,5 +15,5 @@ test104 test113 test122 test18 test23 test301 test402 test9 \
test105 test114 test123 test19 test24 test302 test43 test31 \
test106 test115 test124 test190 test25 test303 test44 test38 \
test107 test116 test125 test2 test26 test33 test45 test126 \
test304 test39 test32
test304 test39 test32 test128

43
tests/data/test128 Normal file
View File

@ -0,0 +1,43 @@
# Server-side
<reply>
</reply>
# Client-side
<client>
<name>
FTP upload with --crlf
</name>
<command>
ftp://%HOSTIP:%FTPPORT/128 -T log/upload128 --crlf
</command>
<file name="log/upload128">
file
with unix newlines
meant to be
converted
with
the
--crlf option
</file>
</test>
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
EPSV
TYPE I
STOR 128
</protocol>
<upload>
file
with unix newlines
meant to be
converted
with
the
--crlf option
</upload>
</verify>