From 6b95c4e358f3bcaf60471353c54c5c32d596a536 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 Apr 2009 09:02:39 +0000 Subject: - I was going to fix issue #59 in KNOWN_BUGS If the CURLOPT_PORT option is used on an FTP URL like "ftp://example.com/file;type=A" the ";type=A" is stripped off. I added test case 562 to verify, only to find out that I couldn't repeat this bug so I hereby consider it not a bug anymore! --- tests/data/test562 | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 tests/data/test562 (limited to 'tests/data/test562') diff --git a/tests/data/test562 b/tests/data/test562 new file mode 100644 index 000000000..070cf7aa1 --- /dev/null +++ b/tests/data/test562 @@ -0,0 +1,53 @@ + + + +FTP +PASV +RETR + + +# Server-side + + +silly data +over FTP + + + +# Client-side + + +ftp + + +lib562 + + +FTP a type=A URL and CURLOPT_PORT set + + +# note that we need quotes around the URL below to make sure the shell doesn't +# treat the semicolon as a separator! + +'ftp://%HOSTIP:23456/562;type=A' %FTPPORT + + + + +# Verify data after the test has been "shot" +# +# There's no MTDM in the protocol here since this code doesn't ask for the +# time/date of the file + + +USER anonymous +PASS ftp@example.com +PWD +EPSV +TYPE A +SIZE 562 +RETR 562 +QUIT + + + -- cgit v1.2.3