curl-users
[ curl-Bugs-729442 ] FTP directory mishandling
Date: Tue, 29 Apr 2003 02:57:44 -0700
Bugs item #729442, was opened at 2003-04-29 11:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=729442&group_id=976
Category: ftp
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: David Balazic (mr_stein)
Assigned to: Daniel Stenberg (bagder)
Summary: FTP directory mishandling
Initial Comment:
Version : curl-7.9.8-5 on red hat linux 9 / i386
command line used : curl -g -O $URL
URLs tested that behave wrongly :
ftp://uel003r2a:333qwe@rcum.uni-mb.si/WWW//david.sig
( FTP command CWD with no parameter not handled )
ftp://uel003r2a:333qwe@rcum.uni-mb.si/%5buel003r2a%
5d/%5b.WWW%5d/NDA.PNG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/$el_a%3a
[uel003r2a]/WWW/NDA.PNG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/$el_a%3a
[000000]/uel003r2a/WWW/NDA.PNG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/[-
]/uel003r2a/stuff/[-]/www/NDA.PNG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/[-
]/uel003r2a/stuff/[-]/[.www]/NDA.PNG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/$el_a%3a
[000000
]/uel003r2a/STUFF/../WWW/NDA.PNG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/$el_a%3a
[000000
]/uel003r2a/STUFF/[-.WWW]/NDA.PNG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/$el_a%3a
[000000
]/uel003r2a/STUFF/[-.WWW]NDA.PNG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/$el_a%3a
[000000
]/uel003r2a/STUFF/[uel003r2a.WWW]/NDA.PNG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/$el_a%3a
[000000
]/uel003r2a/STUFF/[uel003r2a.WWW]NDA.PNG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/
[UEL008R2A]/WWW/JAZ.JPG
ftp://uel003r2a:333qwe@rcum.uni-mb.si/UMB1%3a%
3aSYS$SPECIFIC%3a[FAL$SERVER
]NETSERVER.LOG;type=a
(downloaded file has CR+LF instead of LF ;
manual /bin/ftp downloads
OK)
ftp://uel003r2a:333qwe@rcum.uni-mb.si/UMB1%3a%
3a/SYS$SPECIFIC%3a/[FAL$SERVER
]/NETSERVER.LOG
ftp://uel003r2a:333qwe@rcum.uni-
mb.si/test/testfile_upasc.txt
(downloaded file has all content in one line , no CR or
LF)
ftp://uel003r2a:333qwe@rcum.uni-
mb.si/test/testfile_upasc.txt;type=a
(downloaded file is wrong ( has CR+LF instead of LF
only ))
ftp://uel003r2a:333qwe@rcum.uni-
mb.si/test/TESTFILE_UPASC.X4R3;type=a
(downloaded file is wrong ( has CR+LF instead of LF
only ))
ftp://stein:test12@naomi/te1//test.txt
( again FTP command CWD with no parameter not
handled )
ftp://stein:test12@naomi/te1/%2ftmp/tmp1.txt
(wrong handling of CWD /tmp)
The complete table of tests I have done is at
http://rcum.uni-mb.si/~uel003r2a/ftp_url_test.html
it includes some HTML comments, so look at its source.
This is discussed on the curl-
users_at_lists.sourceforge.net mail list under the subject
of "FTP URL bugs", see first message at
http://curl.haxx.se/mail/archive-2003-04/0206.html
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=729442&group_id=976
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-29