Most voted "file-upload" questions
Related Tags features/components related to file uploads (regardless of file type, such as sheets, images, text, etc).
Learn more…192 questions
Sort by count of
-
0
votes0
answers213
viewsMethod with Fileuploadevent from Managedbean not found: javax.el.Methodnotfoundexception
This is the error presented: ADVERTÊNCIA: Method not found: [email protected]() javax.el.MethodNotFoundException: Method not found:…
-
0
votes1
answer127
viewsProblem displaying image
As I display an image recorded in the database, I believe that it is not actually recorded, because I can only see the name/format of the image. In this case, how do I display this image? I looked…
-
0
votes0
answers115
viewsFile upload incompatibility by ipad
I’m having a problem with uploading files to the iPad. Via web interface, I can upload normal image, but when I do by ipad, it does not change the name of the file and only lets upload images, pdf’s…
-
0
votes0
answers596
viewsError 500 (Internal Server Error) while uploading
While trying to upload a txt file, I am receiving the erro 500. I gave one # chmod -R 777 import to release all permissions. ls -l from the folder where I am trying to save the file: drwxrwxrwx 2…
-
0
votes1
answer1568
viewsUpload and Recover an Image with Angular
Let’s assume I have a user registration form where I want to save a photo of it. Send this data by POST to the server (Java) where I include in the database. What is the best (practical) way to send…
-
0
votes2
answers1180
viewsLimit file size
I created a file import method. I would like to know how limit the size from the uploaded file to the server.
-
0
votes1
answer1125
viewsSetting the "upload_tmp_dir" folder of a cloud server
I am trying to upload media to my server with a php code. I have already redone the code a few times and I believe that there is absolutely nothing wrong. I researched on the subject and saw that my…
-
0
votes1
answer311
viewsHow to protect upload php files against shell script
How can I protect sending php files against shell script, knowing that I only accept one type of extension.
-
0
votes1
answer1414
viewsUpload does not reach PHP via AJAX with . serialize()
I’m implementing a posting system on my future website where it requires uploading images. But when making the request with AJAX the PHP script returns an error stating that the name "img-post" of…
-
0
votes1
answer1677
viewsmove_uploaded_file(): Unable to move
foreach ($_FILES["inputfileSendTorrent"]["error"] as $key => $error) { $arqName = $_FILES['inputfileSendTorrent']['name'][$i]; $arqTemp = $_FILES['inputfileSendTorrent']['tmp_name'][$i];…
-
0
votes2
answers135
viewsHow to add the size of all JS files
I have a input file that receives several files, however I only managed to get the size of the first one. I would like to know how to take the size of all and add in a variable; var sizeTotal =…
-
0
votes1
answer241
viewsupload api for Imgur
I am working on a project where I will upload images , good thanks to the forum I discover the IMGUR, to host my images and let the host of my site more free, good but here comes the master…
-
0
votes1
answer889
viewsHow to Save Image in Database with JSF2
I’m with a project JSF with the model DAO using Hibernate, and I’m having a hard time understanding how to save the image in the database. I would just need to know what the method would look like…
-
0
votes0
answers420
viewsUpload image + parameters Httpurlconnection
I have a Rest server and I need to upload images and also send parameters. I’ve done a lot of research, but I still can’t get the client to work. By the browser works right, via code I can send the…
-
0
votes0
answers143
viewsHow do I activate the javascript upload component using UIKIT?
This page deals with Javascript component implementations using Uikit Frameworks. Click here to access the Uikit page. I’m trying to implement the Drop Area as you can see in the figure below; But I…
-
0
votes1
answer47
viewsPlace upload image blogger
Is there any way to put an image upload box on the blogger that goes straight to my email? I would need to receive some deposit voucher images.
-
0
votes0
answers24
views$_FILES - Security
Why is $_FILES empty if the file is locked (Downloaded)? For example a pdf or an image that when downloaded has the following properties: And if there is a way to solve these problems to upload,…
-
0
votes0
answers43
viewsHow to implement Fileupload in a Hibernate project with JSF?
I’m with a JSF project with the DAO model using Hibernate, and I’m having a hard time understanding how to save the image in the database. I would just need to know what the method would look like…
-
0
votes1
answer594
viewsRuby on Rails - Upload files
I currently have a requirement to allow the user to upload PDF and DOCX files in my application with size limit. How can I develop this functionality using Rails? The physical files will be saved to…
-
0
votes1
answer24
viewsHow to extract information from a video when uploading with Fileupload?
in the systems I am doing need to prevent the upload of a video with more than 1 minute and inform the user. Any way to do that? Thank you.
-
0
votes0
answers38
viewsHow to upload an image to a file using JSP
Hello how are you? I apologize for the language, because I live in Uruguay. I wanted to know how and which Java objects (specifically JSP) I can use to upload images to a file on my Windows? I have…
-
0
votes1
answer568
viewschange text from fileupload Asp.net
You can change the text inside Fileupload? I wanted to change the text "No files selected"…
-
0
votes1
answer1396
viewsJava spring: convert a file to Multipartfile
I created a simple file: File file = new File("text.txt"); But I would like to convert this to a Multipartfile, which would be the best way? I have tried the code below without success:…
java spring filing-cabinet file-upload multiple-file-uploadasked 5 years, 10 months ago Sabrina 909 -
0
votes3
answers1350
viewsPHP $_FILES[''] becomes empty before validation
Good, I have a problem in my code, I have an image upload and I set that the size should be less than 2MB and 280 x 280 px. What happens is that when an image upload is made the…
-
0
votes1
answer834
viewsPHP Curl Upload Images
I’m trying to upload using cURL in PHP on an external page. At first the command line of the external page that captures the photos is exactly this: <!-- BEGIN FIELD IMAGES --> <div…
-
0
votes2
answers234
viewsWebforms Upload multiple files
I have an app WebForms that needs to receive multiple files that will be associated with a specific type of my system. Ex: Type: [Driver’s license] | Filing cabinet: img001.png Type: [Proof of…
-
0
votes0
answers577
viewsUpload PHP file that passes data to MYSQL
It will be difficult to explain what I want but I will try to summarize in 2 small paragraphs. Come on I have a script that passes the file data .CSV and .TXT to the database MYSQL, but it only…
-
0
votes1
answer263
viewsError in file upload to Java Controller using Angular
Opa, I am implementing a file upload, in a form, I can already select the file, pass to Angularjs that recognizes it (even without ng-model) and when I pass to my java controller gives the following…
-
0
votes1
answer49
viewsPrevent duplication in the BD depending on the FOR loop
I am creating a multiple image upload system. The "move_uploaded_file" function works fine. The problem is that I included a $grav insert for the BD, and as can be seen in the code, it would only be…
-
0
votes1
answer117
viewsConfigure Kcfinder in Tinymce
Hello, I am using Tinymce as a text field and I need it to be possible to upload images on it, and for that I am using Kcfinder, only the problem is that when I click to upload images, it appears…
-
0
votes1
answer55
viewsuploadFile primefaces
The method below, along with my jsf, uploads a file. bat to a folder inside my project, until then it works normal, the problem is that when I go to see the folder where the file is, it is there,…
-
0
votes0
answers27
viewsvariable in selectOneMenu
In a form I have the field where I enter the name and create a folder with that name, in the second form a selectedOneMenu where lists the folders I created in the first form, now my problem is in…
-
0
votes1
answer128
viewsHow to indent a new file name in an automatic "Drag and Drop" upload
I found a system of upload imaging Drag and Drop on the internet that makes the upload of the image in a specific folder and renames the file with a random name without having to submit the form.…
-
0
votes1
answer254
viewsError with getimagesize in photo upload
I’m trying to set up a system that checks the mime type image when uploading. However. Follows the code: <?php $action = addslashes(filter_input(INPUT_GET,…
-
0
votes1
answer127
viewsSend EXCEL form file without refresh
Hello, I would like to send an excel file to a php page, where I would read the data and then send it to the database. I managed to do this by refreshing the page, but I wanted when the file was…
-
0
votes2
answers135
viewsHow to upload an image that can be updated but still has the same name?
Hello. As the title of the question already says, I would like to know how to upload a file in png, jpg or jpeg in which your name is always maintained as profilepic. in the directory…
-
0
votes1
answer271
viewsImage upload and update
I have a javaEE application where one of the requirements is to upload an image used for the user profile. Everything you’re accomplishing so far: 1. Selects the image to be edited (Cut, Rotate,…
-
0
votes1
answer250
viewsUpload . txt to Mysql database
Hello, I would like to upload a file .txt which meets the layout as follows (following example of two lines of the file): 9787546;488464;2016-12-11;Carlos Fonseca;carlos.fonseca…
-
0
votes0
answers382
viewsBootstrap File Input with Asp.net MVC
I am using Bootstrap File Input (http://plugins.krajee.com/file-advanced-usage-demo) in my Asp.Net MVC project but it has a bug that when I add some file and then add another one it keeps showing on…
-
0
votes1
answer55
viewshtml is not sending images to the server
I have the following modal: <!-- MODAL PARA CADASTRO DE TAMANHOS --> <div class='modal fade' id='modalTamanho' tabindex='-1' role='dialog' aria-labelledby='myModal'> <div…
-
0
votes0
answers75
viewsHow to know when the file was loaded 100%
I have a feature that does the following: Load a video from the user’s PC using C# Put the video link in src of an HTML5 using Jquery The problem: It puts the link and shows the player, but as the…
-
0
votes0
answers229
viewsHow to send a dynamic image to PHP with jQuery ajax function
I have a blank div, which dynamically receives an image, almost as soon as the page loads, this image is the Crop of the original image, I’m able to catch it through the code: $('.class > img')…
-
0
votes1
answer61
viewsChanging the identification data of an upload file
I am first trying to rename a file according to what the user provides us, however error occurs, but it is given as $_FILES["arquivo_foto"]["error"] -> 0 Sending script <?php $diretorioimagens…
-
0
votes0
answers465
viewsUpload multiple files in the same form and write name in the database
I have a registration form with two file input. One called file (an image) and the other called arquivo_download(a pdf). In my table I have a column [image] and another [downloads], which write the…
-
0
votes1
answer49
viewsMerge upload and input ajax
I have this form: <form id="formForum" autocomplete="off"> <div class="boxContent"> <div class="form" style="margin-top: 0"> <div class="profile" style="background-image:…
-
0
votes1
answer164
viewsUpload image inside Peater C# Asp.net
Hello, I am new here and I am in need of a help. I already searched the net and the solutions I found do not work. I have an image gallery editing screen, made with a Repeater, in each image listed…
-
0
votes0
answers56
viewsERR_CONNECTION_RESET When I upload large image to Nodejs
Good morning, I’m having a problem when I try to send big image with Ode, formidable use app.post('/upload/image', (req, res, next) => { var form = new formidable.Incomingform(); form.multiples =…
-
0
votes3
answers882
viewsInsert multiple php mysql records
I am developing a record site and when the user register the vehicle he has the option to insert various images of the vehicle. I have the upload code, but I wanted to know how to insert more than…
-
0
votes0
answers33
viewsHow to get the real path to a file
I upload files to a folder, which works when running in eclipse. But when I try to upload through some browser, I am not allowed due to the security of it. My question is, is there any way to get…
-
0
votes1
answer226
viewsHow to change cover photo
How to update photo from this cover from my computer with javascript, button input type="file" or with nodejs. Follows the code: <!DOCTYPE html> <html> <head> <meta…