File upload Re: Fwd: HTML DOM

Hello Erez,

there is a draft specification to enable just this use case, at http://dev.w3.org/cvsweb/~checkout~/2006/webapi/FileUpload/publish/FileUpload.html

There are lots of security implications in being able to play with people'sfiles, 
which is one of the reasons why this is going slowly, but I hope that youwill 
soon see some progress on the draft...

cheers

Chaals

On Tue, 13 Feb 2007 21:15:52 +1100, Erez Segal <segalerez@gmail.com> wrote:

> ---------- Forwarded message ----------
> From: Philippe Le Hegaret <plh@w3.org>
> Date: 23:04 12/02/2007
> Subject: Re: HTML DOM
> To: Erez Segal <segalerez@gmail.com>
>
> On Sun, 2007-02-11 at 18:51 +0200, Erez Segal wrote:
>> Hello!
>> I was trying to build a file uploader using Javascript, when I
>> understood I can not have access to client files due to security
>> reasons.
>> I suggest an exception: an access shall be given to a file chosen
>> using <input type="file" />. if the user has chosen it, than read
>> access should be given to that file, so my javascript could decide
>> wether it should be uploaded, or (for example) split to many pieces,
>> then uploaded.
>
> I think this comment would be better addressed to the Web API Working
> Group as a comment against their XHR document [1]. Do you mind your
> comment to them at public-webapi@w3.org ?
>
> Thank you,
>
> Philippe
>
>
>
> [1] http://www.w3.org/TR/2006/WD-XMLHttpRequest-20060927/
> 



-- 
Charles McCathieNevile, Opera Software: Standards Group
hablo español - je parle français - jeg lærer norsk
chaals@opera.com Try Opera 9.1 http://opera.com

Received on Thursday, 15 February 2007 15:08:22 UTC