W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2004

Re: web-based upload via WebDAV

From: John DeSoi <jd@icx.net>
Date: Mon, 29 Mar 2004 21:22:00 -0500
Message-Id: <06D9EC9C-81F1-11D8-B0B6-000A95B03262@icx.net>
Cc: w3c-dist-auth@w3.org
To: Frank Lowney <frank.lowney@gcsu.edu>


On Mar 28, 2004, at 7:27 AM, Frank Lowney wrote:

> Since there are numerous examples of HTTP 1.0 upload (one file at a 
> time) from within a web page, I wondered if it is possible to use HTTP 
> 1.1 WebDAV protocols to upload multiple files at a time from within a 
> web page.  How would authentication be handled in such a case and 
> could that be programmatically supplied since one may already have 
> authenticated oneself to obtain the upload page in the first place?

I have not tried it in a while, but I doubt it will be possible to do 
this effectively from a web page. The user will still have to specify 
each and every file because the browser security settings are not going 
to allow you to programatically set file paths in a form. Even if you 
could, WebDAV would need to receive each file as a PUT request. I'm not 
aware of any standardized support for scripting this from a web page.

The closest thing I'm aware of is HTML editor built into Mozilla. You 
can create a page with included images and support files and Mozilla 
will upload the page and all related items using HTTP PUT. PUT is the 
the same mechanism used in WebDAV for storing documents.


John DeSoi, Ph.D.
Received on Monday, 29 March 2004 21:23:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:29 UTC