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
Copy link
Author

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