Questions tagged as 'file-upload'

1
answer

Problems with JSF FileUpload

I am able to save the disk image in this JSF project <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html x...
asked by 20.05.2015 / 21:57
2
answers

PHP: Upload file

I'm here with a problem uploading an XML file in PHP. I have a form that allows me to select a file: <form id="upload" action='' method='post' enctype="multipart/form-data" > <input id='uploaded_file' type='file' name='uploade...
asked by 12.05.2014 / 18:52
4
answers

How to upload images using CKEditor?

I'm building a Knowledge Base system and I'm using CKEditor to edit the texts, but I wish I could make UPLOAD of images within the text. I'm using PHP with MYSQL and the text part is already working. How can I upload images within CKEditor...
asked by 21.09.2016 / 21:15
1
answer

Input type file does not work in webview

I have an HTML page that has a form of uploading images in Chrome on your pc or in any browser works but in my application it has a WebView that opens this page then clicking choose file does nothing. Is it possible to arrange thi...
asked by 16.01.2017 / 17:36
1
answer

Get File Size in Bytes in Java Script

I'm validating the attached file size on my page before upload using the following code: var tamanhoArquivo = parseInt(document.getElementById("documento").files[0].size); if(tamanhoArquivo > 2097152){ //MAX_FILE_SIZE = 2097152 Byte...
asked by 26.11.2014 / 15:09
1
answer

How to check if a file is an image?

I'm working on an application using ASP.NET MVC and AngularJS and need to ensure that the file upload will be just image files, even if someone sends an extension of another type of ".jpg" for example. I'm getting a MultipartFileData in the...
asked by 22.06.2017 / 15:37
1
answer

How to pull the button of an input file (without JS) [duplicate]

I have the following input file and wanted to know how to get the button, so in the box just show the file name * I do not need JS, I have already seen some examples and I remember that they did not use JS, but I also do not re...
asked by 17.08.2016 / 23:44
2
answers

Upload upload files with AJAX

I am not able to send some upload files with AJAX. I need to send 3 files with dynamically generated inputs, so I did not use the multiple attribute. By firing the event, I get to the xhr.send (files), which does not "play" the PHP file. C...
asked by 14.10.2016 / 23:54
3
answers

Upload file with parameters in Silex with Angular-File-Upload

I'm doing a job with Angular (version 1.5.8) and using Silex as Web Service. To send the file to the Web Service I am using Angular-File-Upload (version 1.5.1), and my Angular service is like this: self.salvarAnexo = function (id, descricao, a...
asked by 12.08.2016 / 01:02
3
answers

FileUpload without refresh on page?

I noticed that you need a refresh on the whole page to get the server-side file. Would there be some way to refresh to perform this operation? I know it's possible with Ajax, what would it be like?     
asked by 15.09.2014 / 15:18