| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Problem with Microsoft 2003 ftp server
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 14 May 2004 08:34:49 +0200 (CEST)
On Thu, 13 May 2004, Eric VERGNAUD wrote:
(since we are discussing libcurl internals and since you are using libcurl
> It's not the user who is attempting to change dir, it's libcurl which does
Then I must agree with Kevin that you would be better off by prepending the
> The url I query IS an absolute url. It looks like the following:
That is not an absolute path. The slash that divides the server name and the
ftp://justinkahn:tiptoe@ftp.myserver.com//justinkahn/somedir/someotherdir/
or if you want to adhere to the RFCs:
ftp://justinkahn:tiptoe@ftp.myserver.com/%2fjustinkahn/somedir/someotherdir/
> So it looks like libcurl is NOT trying the path from root.
Correct. When you specify a path in an FTP URL, the path is tried from the
> And since there is no way I can get Microsoft to fix their bug (if there is
The only somewhat sane patch that possibly could make sense, would be to first
> Please understand that the only goal here is to provide compatibility with
I understand that, and while I refer to the RFCs I too want libcurl to work as
But I need a good explanation and a proper discussion first, so that we can be
Please don't take my sometimes harch tone as anything personal. I think we
> I'm obviously not an expert like you, but if there was no benefit, why is it
I suspect hey support this just to avoid having to explain or describe the
> OK maybe there is a better way to do this, that is check the error code on
That API is only lib-internal and we can modify that at will without anyone
I think the if-first-CWD-fails-then-try-a-slash-prefix-path-CWD approach could
> I was just asking, because all the CWD commands I've followed do not have
It then starts from the root.
> Daniel, I'm very impressed by the work you've done, but I'm stuck with this
I think they support this weirdness in the FTP server to allow people to
The RFC way of specifying an absolute path in a FTP URL means using that %2f,
--
Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-14
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info