# Multiple file uploads

**URL:** <https://www.ruby-forum.com/t/multiple-file-uploads/107370>\
**Category:** Rails\
**Created:** [June 20, 2007, 11:34pm UTC](https://www.ruby-forum.com/t/multiple-file-uploads/107370 "2007-06-20T23:34:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfrank86](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@dfrank86](https://www.ruby-forum.com/u/dfrank86)\
**Post date:** [June 20, 2007, 11:34pm UTC](https://www.ruby-forum.com/t/multiple-file-uploads/107370/1 "2007-06-20T23:34:49Z")

</div>

I need a form that will allow directories to be uploaded, rather than  
one file at a time. Is this possible? On my Mac, at least, the file  
selection menu won’t allow a user to select a folder.

Thanks!

---

<div class="post-metadata">

**Author:** ![dfrank86](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@dfrank86](https://www.ruby-forum.com/u/dfrank86)\
**Post date:** [June 21, 2007, 9:29am UTC](https://www.ruby-forum.com/t/multiple-file-uploads/107370/2 "2007-06-21T09:29:31Z")

</div>

On 20 Jun 2007, at 23:32, dfrank86 wrote:

> I need a form that will allow directories to be uploaded, rather than  
> one file at a time. Is this possible? On my Mac, at least, the file  
> selection menu won’t allow a user to select a folder.

SWFUpload allows you to select multiple files for upload (not the  
folder itself, but you can select all the files in the folder with  
Command/Control-A). Only other way if the folder itself needs to be  
uploaded is asking the user to zip the bunch and upload the zip file.

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![dfrank86](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@dfrank86](https://www.ruby-forum.com/u/dfrank86)\
**Post date:** [June 21, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/multiple-file-uploads/107370/3 "2007-06-21T16:04:26Z")

</div>

On 6/20/07, dfrank86 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I need a form that will allow directories to be uploaded, rather than  
> one file at a time. Is this possible? On my Mac, at least, the file  
> selection menu won’t allow a user to select a folder.

That’s a browser/http limitation. It’s also why you can’t upload  
certain mac files that are really just directories with fancy  
extensions.

–  
Rick O.  
[http://lighthouseapp.com](http://lighthouseapp.com)  
[http://weblog.techno-weenie.net](http://weblog.techno-weenie.net)  
[http://mephistoblog.com](http://mephistoblog.com)
