Questions tagged [multiple-file-upload]

The act of uploading multiple files at a single instance, either concurrently or in a queue.

The act of uploading multiple files, either concurrently or in a que-ue.

214 questions
42
votes
9 answers

Uploading multiple files in a single request using python requests module

The Python requests module provides good documentation on how to upload a single file in a single request: files = {'file': open('report.xls', 'rb')} I tried extending that example by using this code in an attempt to upload multiple files: files…
user462455
  • 12,838
  • 18
  • 65
  • 96
23
votes
7 answers

Multiple Image Upload PHP form with one input

I've been trying to make this work for quite some time now. But I can't seem to make it work. I wanted to have a multiple image upload form with only using one input. this is my…
clvxc
  • 233
  • 1
  • 2
  • 4
11
votes
3 answers

Can't select multiple images to upload on Android - Chrome Web Browser

I would like to create a Web App where the user can select and upload multiple images from the phone's image gallery. This function works fine on iOS, but it seems to be broken on android:
11
votes
0 answers

Do I have to use x-tmpl in rails when using blueimp jQuery File Upload?

I added jQuery File Upload to my rails app recently similar to what is shown under following link: https://github.com/blueimp/jQuery-File-Upload/wiki/Rails-setup-for-V6 . Every rails implementation version i saw till now has a
10
votes
2 answers

Multiple file upload with reactjs

I'm new to reactjs and I'm trying to upload multiple file upload. I can able to store the files in state component as array . But When I'm passing the data to axios post method, it gives me the list of files as [object FileList] . And I couldn't…
farooq
  • 1,603
  • 2
  • 17
  • 33
8
votes
1 answer

Uploading multiple files and renaming - PHP

I'm uploading multiple files. Main function works fine, but I have to change the names of uploading files Like: name1.jpg, name2.jps, name3.jpg, ... $i = 1; if(move_uploaded_file($_FILES['upl']['tmp_name'], 'uploads/name'.$i++.'.'.$extension)){ …
user4540334
6
votes
3 answers

How do I upload multiple files using the Flask test_client?

How can I use the Flask test_client to upload multiple files to one API endpoint? I'm trying to use the Flask test_client to upload multiple files to a web service that accepts multiple files to combine them into one large file. My controller looks…
rjurney
  • 4,824
  • 5
  • 41
  • 62
6
votes
1 answer

Open several times multiple file input without losing earlier selected files

I have a multiple file input. I want my customers to choose multiple files when they click on 'Choose files' (I think it is done) and if they forget to select some files, I want my code to enable selecting new files (done) AND add that data to the…
Vince Varga
  • 6,101
  • 6
  • 43
  • 60
5
votes
3 answers

MultipleFileField wtforms

class AddProductForm(FlaskForm): product_pictures = MultipleFileField('Pictures') submit = SubmitField('Add Pictures') def product_add_pics(): form = AddProductForm() if form.validate_on_submit(): if…
anhianhi
  • 51
  • 2
  • 3
5
votes
0 answers

Django: Restrict file type on MULTIPLE uploads

I'm still new to Django and have found some excellent answers on how to restrict the type of file uploaded through Django's FileField. However, these answers deal with the case of a single file upload. I am dealing with the case of a multiple file…
nea2170
  • 51
  • 2
5
votes
3 answers

How to check duplicate of my input file upload?

I have this form which has a button for file upload. When you select a file it shows at upload_prev div. My problem is that when I try to select the same file nothing happens. I would like a validation or kind of non duplication function to…
hesh
  • 53
  • 1
  • 1
  • 5
5
votes
2 answers

How to preserve old files after new file browse click in multiple file uploader?

I've made a file upload with file previews using html5+file reader and it works fine except that old files the user selected gets destroyed from input file field and if the user select in a new single browse click. Here's the js…
user3407278
  • 1,233
  • 5
  • 16
  • 32
5
votes
0 answers

Upload images to HTTP server

On my HTTP server I'm trying to allow users to upload images by this form: I'm…
bob_saginowski
  • 1,429
  • 2
  • 20
  • 35
5
votes
3 answers

Selecting multiple files and uploading them using Jersey

I need help with multiple file uploads using Jersey. I used the following code to upload a single file using Jersey. package my.first.rest; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import…
5
votes
2 answers

Add cancel upload or abort functionality to bootstrap multiple file upload plugin

I am using bootstrap multiple file upload plugin to upload file. I am using the example that is on this link. Now I want to add another button "Cancel upload" besides the "Add files" button. On clicking the "Cancel upload" button the uploading…
1
2 3
14 15