W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

drop directories/folders

From: Rüdiger Kurz <r.kurz@alkacon.com>
Date: Tue, 15 Mar 2011 10:59:28 +0100
Message-ID: <4D7F3880.1090503@alkacon.com>
To: public-webapps@w3.org

this is Rüdiger I’m a developer from Alkacon Software GmbH in Cologne, 
Germany. This year we are planning to release our new version 8 of 
OpenCms. Therefore we want to support our customers with a File API / 
FormData based upload functionality. This new upload feature should also 
provide drag and drop.


Context: HTML5 - File API in combination with Drag and Drop

Problem: If you drop directories/folders on to a defined "dropzone", I 
assume that it is not possible to "detect" that the dropped file is a 

Target: When a user drops a directory, I want to inform the user in some 
way that directories can't be handled by the "program".

Note: I know that it should not be possible to read a whole directory 
structure for security reason and that is not the point I want to make.

Suggestion: Extend the File Interface for a attribute called directory

interface File : Blob {
       readonly attribute DOMString name;
       readonly attribute DOMString directory;
       readonly attribute DOMString lastModifiedDate;

directory: Has the value 'true' if the file is a directory, 'false' 

Kind regards

Rüdiger Kurz


Visit OpenCms Days 2011 Conference and Expo
May 9 to May 10 2011 in Cologne, Germany

Alkacon Software GmbH - The OpenCms Experts
Rüdiger Kurz
An der Wachsfabrik 13
50996 Koeln, DE

Tel: +49 (0)2236 3826-16
Fax: +49 (0)2236 3826-20
Email: r.kurz@alkacon.com


Geschäftsführer: Alexander Kandzior, Amtsgericht Köln, HRB 54613
Received on Tuesday, 15 March 2011 15:33:30 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:30 UTC