Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Select directory with HTML input field.
<input type="file" name="files[]" multiple directory webkitdirectory mozdirectory>
@christopherperry

This comment has been minimized.

Copy link
Owner Author

@christopherperry christopherperry commented Jun 29, 2013

For Rails do:

file_field_tag 'file', :multiple => true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.