cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] TFTP portability fix

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 8 May 2006 14:39:57 -0700

On Mon, May 08, 2006 at 11:06:21PM +0200, Daniel Stenberg wrote:
> I agree. And the simple fix to make it do this is to simply skip the first
> character of the filename when including it in the TFTP package, isn't it?

I would expect that to work, if you can guarantee that the first character
will always be a slash (I wasn't sure if that was a valid assumption). And
something sane has to happen if someone tries to upload/download a URL
like "tftp://host" without a path.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-05-08