cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: relative path with ftp using curl

From: François Pons <fpons_at_mandrakesoft.com>
Date: 24 Jul 2003 18:14:41 +0200

fpons_at_mandrakesoft.com (François Pons) writes:

> It seems to be unable to fetch an url (ftp://user:pass//dir) where /dir is
> absolute directory and not relative directory from $HOME of user.
>
> Is it a normal behaviour for security purpose or does there exists an option to
> enable this ?

The problem seems located in ftp.c:2150 (7.10.6-pre4) where any / are removed
from path, I wonder if this is intentional but it seems not according to
comments here.

François.

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-07-24