Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was confused by what this meant - so perhaps some others are too. This is what a few minutes of research got me:

    Uploading individual files in a directory = was possible
    Uploading an entire directory (eg: a folder to a cloud storage service) = was not possible
Personally my workflow means I've uploaded the contents of a directory to a directory I make myself, so I've never encountered the problem.

Am I missing something or was that right?

Example of error: http://superuser.com/questions/909112/does-firefox-support-f...



You can't upload subdirectories, so it quickly becomes painful to upload an entire directory of files if it has multiple folders within.


Outside of my personal use cases but I can definitely see how many, if not even most, people would need that at some point. :)

Thanks for the response!


Another reason is on macOS where many file formats are actually directory based. (Called 'packages', they are actually structured directories with a metadata bit set.)

For example the RTFD format. This is a rich text document with embedded images. It is actually implemented as a folder containing a RTF file and the images. In the Mac GUI however it appears to be a regular file.

Attempting to upload it on the web would fail without the ability to upload directories. This may well explain why WebKit (being from Apple) was the first to implement this. I bet they needed it for their iCloud web app versions of Pages, Keynote etc.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: