Questions tagged as 'file-upload'

0
answers

btn save error does not work after Image Preview is loaded

To try to make a user image swap area where it clicks on select file after the file is selected a Preview appears, in that the user can choose to save or load another. plus the save button does not work after the Preview is loaded. I do not under...
asked by 13.07.2018 / 23:51
1
answer

PHP: File upload works for images but does not work for PDF files

I have a strange problem: my form works for uploading images but does not work for uploading PDF files. My code is as follows: $titulo = $_POST['txtTitulo']; $descricao = $_POST['txtDescricao']; $extension = pathinfo($_FIL...
asked by 25.06.2018 / 14:04
1
answer

Safari sends $ _FILE as being empty (NULL) via Ajax

I have an image upload script that works normally with Chrome, EDGE, Firefox and Opera. But it does not work with Safari. The Safari browser opens the windows window for me to choose an image. When it should upload, it sends the data of the chos...
asked by 22.06.2018 / 05:43
1
answer

Move_upload_file does not work

I'm developing a code to open an xml, if the file does not exist, it will create a new, beauty, the system is creating, but at the time of moving the file to the folder it will be stored, move_upload_file does not work. The name of the folder wh...
asked by 20.06.2018 / 00:38
0
answers

Can you use the f: view renderKitId="HTML_BASIC" tag on a specific component?

I would like to use only the fileUpload component that I have on my screen. Can someone help me? Thanks in advance.     
asked by 06.06.2018 / 17:28
1
answer

Django FileField Restriction in Image and Video

I would like to know how I can limit the file type in FileField of Django? I know I can add this validation to the Form. I just wish they could send videos and images in this field, nothing more.     
asked by 26.04.2018 / 23:09
0
answers

Empty post post - problem with file reader

Hello, I'm developing in an application using angular 2. I use dropzone.js to upload files. The problem is this: When I load the files directly from dropzone to an array of files, as in the code below: this.showUploadFileNotAllowed = false;...
asked by 04.04.2018 / 20:09
0
answers

upload pdf ruby on rails

I am in need of uploading pdf files to the system made in ruby on rails. I can do this with the images however with pdf files I can not. I'm using carriwave. report_uploader.rb class ReportUploader < CarrierWave::Uploader::Ba...
asked by 04.04.2018 / 20:51
0
answers

Jmeter - File Upload - Performance Test

I have the following question, could anyone help? I need to do a performance test, calling an endpoint with certain parameters (body in Json) and uploading the file. How do I proceed? Could you help me? Thank you.     
asked by 21.03.2018 / 13:45
0
answers

How to upload an image to a file using JSP

Hello, how are you? I already apologize for the language, because I live in Uruguay. I would like to know how and what Java objects (specifically JSP) can I use to upload an image to a file on my Windows? I have a field <input type="fil...
asked by 22.02.2018 / 18:01