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

HTTP tests: use CRLF as header seperator according to RFC 2616

Updates the test suite to handle binary-mode header output.
This commit is contained in:
Marc Hoersken 2014-02-01 14:03:55 +01:00
parent 91c13d759a
commit 0a568867c0
15 changed files with 300 additions and 300 deletions

View File

@ -9,13 +9,13 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
12345 12345
</data> </data>
</reply> </reply>
@ -55,21 +55,21 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/1334" mode="text"> <file1 name="log/1334">
12345 12345
</file1> </file1>
<file2 name="log/heads1334" mode="text"> <file2 name="log/heads1334">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
</file2> </file2>
<file3 name="log/stdout1334" mode="text"> <file3 name="log/stdout1334">
</file3> </file3>
</verify> </verify>

View File

@ -9,14 +9,14 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1336; charset=funny; option=strange Content-Disposition: filename=name1336; charset=funny; option=strange
12345 12345
</data> </data>
</reply> </reply>
@ -59,22 +59,22 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/1336" mode="text"> <file1 name="log/1336">
12345 12345
</file1> </file1>
<file2 name="log/heads1336" mode="text"> <file2 name="log/heads1336">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1336; charset=funny; option=strange Content-Disposition: filename=name1336; charset=funny; option=strange
</file2> </file2>
<file3 name="log/stdout1336" mode="text"> <file3 name="log/stdout1336">
</file3> </file3>
</verify> </verify>

View File

@ -10,13 +10,13 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
12345 12345
</data> </data>
</reply> </reply>
@ -56,21 +56,21 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/1338" mode="text"> <file1 name="log/1338">
12345 12345
</file1> </file1>
<file2 name="log/heads1338" mode="text"> <file2 name="log/heads1338">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
</file2> </file2>
<file3 name="log/stdout1338" mode="text"> <file3 name="log/stdout1338">
</file3> </file3>
</verify> </verify>

View File

@ -10,14 +10,14 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1340; charset=funny; option=strange Content-Disposition: filename=name1340; charset=funny; option=strange
12345 12345
</data> </data>
</reply> </reply>
@ -57,22 +57,22 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/name1340" mode="text"> <file1 name="log/name1340">
12345 12345
</file1> </file1>
<file2 name="log/heads1340" mode="text"> <file2 name="log/heads1340">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1340; charset=funny; option=strange Content-Disposition: filename=name1340; charset=funny; option=strange
</file2> </file2>
<file3 name="log/stdout1340" mode="text"> <file3 name="log/stdout1340">
curl: Saved to filename '%PWD/log/name1340' curl: Saved to filename '%PWD/log/name1340'
</file3> </file3>

View File

@ -9,13 +9,13 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
12345 12345
</data> </data>
</reply> </reply>
@ -55,28 +55,28 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/1342" mode="text"> <file1 name="log/1342">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
12345 12345
</file1> </file1>
<file2 name="log/heads1342" mode="text"> <file2 name="log/heads1342">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
</file2> </file2>
<file3 name="log/stdout1342" mode="text"> <file3 name="log/stdout1342">
</file3> </file3>
</verify> </verify>

View File

@ -9,14 +9,14 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1344; charset=funny; option=strange Content-Disposition: filename=name1344; charset=funny; option=strange
12345 12345
</data> </data>
</reply> </reply>
@ -59,30 +59,30 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/1344" mode="text"> <file1 name="log/1344">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1344; charset=funny; option=strange Content-Disposition: filename=name1344; charset=funny; option=strange
12345 12345
</file1> </file1>
<file2 name="log/heads1344" mode="text"> <file2 name="log/heads1344">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1344; charset=funny; option=strange Content-Disposition: filename=name1344; charset=funny; option=strange
</file2> </file2>
<file3 name="log/stdout1344" mode="text"> <file3 name="log/stdout1344">
</file3> </file3>
</verify> </verify>

View File

@ -9,13 +9,13 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
12345 12345
</data> </data>
</reply> </reply>
@ -50,21 +50,21 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/outfile1364" mode="text"> <file1 name="log/outfile1364">
12345 12345
</file1> </file1>
<file2 name="log/heads1364" mode="text"> <file2 name="log/heads1364">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
</file2> </file2>
<file3 name="log/stdout1364" mode="text"> <file3 name="log/stdout1364">
</file3> </file3>
</verify> </verify>

View File

@ -9,14 +9,14 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1366; charset=funny; option=strange Content-Disposition: filename=name1366; charset=funny; option=strange
12345 12345
</data> </data>
</reply> </reply>
@ -51,22 +51,22 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/outfile1366" mode="text"> <file1 name="log/outfile1366">
12345 12345
</file1> </file1>
<file2 name="log/heads1366" mode="text"> <file2 name="log/heads1366">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1366; charset=funny; option=strange Content-Disposition: filename=name1366; charset=funny; option=strange
</file2> </file2>
<file3 name="log/stdout1366" mode="text"> <file3 name="log/stdout1366">
</file3> </file3>
</verify> </verify>

View File

@ -10,13 +10,13 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
12345 12345
</data> </data>
</reply> </reply>
@ -51,21 +51,21 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/outfile1368" mode="text"> <file1 name="log/outfile1368">
12345 12345
</file1> </file1>
<file2 name="log/heads1368" mode="text"> <file2 name="log/heads1368">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
</file2> </file2>
<file3 name="log/stdout1368" mode="text"> <file3 name="log/stdout1368">
</file3> </file3>
</verify> </verify>

View File

@ -10,14 +10,14 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1370; charset=funny; option=strange Content-Disposition: filename=name1370; charset=funny; option=strange
12345 12345
</data> </data>
</reply> </reply>
@ -52,22 +52,22 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/outfile1370" mode="text"> <file1 name="log/outfile1370">
12345 12345
</file1> </file1>
<file2 name="log/heads1370" mode="text"> <file2 name="log/heads1370">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1370; charset=funny; option=strange Content-Disposition: filename=name1370; charset=funny; option=strange
</file2> </file2>
<file3 name="log/stdout1370" mode="text"> <file3 name="log/stdout1370">
</file3> </file3>
</verify> </verify>

View File

@ -9,13 +9,13 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
12345 12345
</data> </data>
</reply> </reply>
@ -50,28 +50,28 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/outfile1372" mode="text"> <file1 name="log/outfile1372">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
12345 12345
</file1> </file1>
<file2 name="log/heads1372" mode="text"> <file2 name="log/heads1372">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
</file2> </file2>
<file3 name="log/stdout1372" mode="text"> <file3 name="log/stdout1372">
</file3> </file3>
</verify> </verify>

View File

@ -9,14 +9,14 @@ HTTP GET
# #
<reply> <reply>
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1374; charset=funny; option=strange Content-Disposition: filename=name1374; charset=funny; option=strange
12345 12345
</data> </data>
</reply> </reply>
@ -51,30 +51,30 @@ Accept: */*
</protocol> </protocol>
<file1 name="log/outfile1374" mode="text"> <file1 name="log/outfile1374">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1374; charset=funny; option=strange Content-Disposition: filename=name1374; charset=funny; option=strange
12345 12345
</file1> </file1>
<file2 name="log/heads1374" mode="text"> <file2 name="log/heads1374">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1374; charset=funny; option=strange Content-Disposition: filename=name1374; charset=funny; option=strange
</file2> </file2>
<file3 name="log/stdout1374" mode="text"> <file3 name="log/stdout1374">
</file3> </file3>
</verify> </verify>

View File

@ -10,14 +10,14 @@ RETR
<reply> <reply>
# file1387 contents... # file1387 contents...
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1387; charset=funny; option=strange Content-Disposition: filename=name1387; charset=funny; option=strange
MOOOO MOOOO
</data> </data>
</reply> </reply>
@ -53,14 +53,14 @@ QUIT
</protocol> </protocol>
<file1 name="log/download1387"> <file1 name="log/download1387">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1387; charset=funny; option=strange Content-Disposition: filename=name1387; charset=funny; option=strange
MOOOO MOOOO
</file1> </file1>
@ -76,8 +76,8 @@ MOOOO
250 CWD command successful. 250 CWD command successful.
229 Entering Passive Mode (stripped) 229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted 200 I modify TYPE as you wanted
213 214 213 222
150 Binary data connection for 1387 () (214 bytes). 150 Binary data connection for 1387 () (222 bytes).
226 File transfer complete 226 File transfer complete
</file2> </file2>
<stripfile2> <stripfile2>

View File

@ -11,14 +11,14 @@ RETR
<reply> <reply>
# file1389 contents... # file1389 contents...
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1389; charset=funny; option=strange Content-Disposition: filename=name1389; charset=funny; option=strange
MOOOO MOOOO
</data> </data>
</reply> </reply>
@ -54,14 +54,14 @@ QUIT
</protocol> </protocol>
<file1 name="log/download1389"> <file1 name="log/download1389">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1389; charset=funny; option=strange Content-Disposition: filename=name1389; charset=funny; option=strange
MOOOO MOOOO
</file1> </file1>
@ -77,8 +77,8 @@ MOOOO
250 CWD command successful. 250 CWD command successful.
229 Entering Passive Mode (stripped) 229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted 200 I modify TYPE as you wanted
213 214 213 222
150 Binary data connection for 1389 () (214 bytes). 150 Binary data connection for 1389 () (222 bytes).
226 File transfer complete 226 File transfer complete
</file2> </file2>
<stripfile2> <stripfile2>

View File

@ -10,14 +10,14 @@ RETR
<reply> <reply>
# file1391 contents... # file1391 contents...
<data nocheck="yes"> <data nocheck="yes">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1391; charset=funny; option=strange Content-Disposition: filename=name1391; charset=funny; option=strange
MOOOO MOOOO
</data> </data>
</reply> </reply>
@ -53,14 +53,14 @@ QUIT
</protocol> </protocol>
<file1 name="log/download1391"> <file1 name="log/download1391">
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Content-Length: 6 Content-Length: 6
Connection: close Connection: close
Content-Type: text/html Content-Type: text/html
Content-Disposition: filename=name1391; charset=funny; option=strange Content-Disposition: filename=name1391; charset=funny; option=strange
MOOOO MOOOO
</file1> </file1>
@ -76,8 +76,8 @@ MOOOO
250 CWD command successful. 250 CWD command successful.
229 Entering Passive Mode (stripped) 229 Entering Passive Mode (stripped)
200 I modify TYPE as you wanted 200 I modify TYPE as you wanted
213 214 213 222
150 Binary data connection for 1391 () (214 bytes). 150 Binary data connection for 1391 () (222 bytes).
226 File transfer complete 226 File transfer complete
</file2> </file2>
<stripfile2> <stripfile2>