Most voted "upload" questions
"Loading" or "Upload" (upload) refers to sending data from a local system to a remote system, such as a server or other client with the intention that the remote system stores a copy of the data being transferred.
Learn more…313 questions
Sort by count of
-
3
votes1
answer342
viewsFile upload inside webapp folder
I have a Rest API with Jersey where I upload files. If I set the path to anywhere else, ex: C:\\uploads works, but would like to save these files inside a webapp directory: Currently I do so: @POST…
-
3
votes1
answer201
viewsProblem uploading PHP files
Hello, I have a problem uploading files from my system. By placing more than 5 files in the field "input Multiple file" only 5 are recorded in the database, that is, if I put 18 files only will be…
-
3
votes1
answer603
viewsHow to upload using PHP image in link BLOB?
I’m using a Github (xkeshi/image-compressor) project that compresses images using Javascript. It generates a download of the compressed file with the following link for example…
-
2
votes3
answers8451
viewsProblem with uploading large files in PHP
I’ve already set my site’s php settings to upload limit size (post_max_size and upload_max_filesize). I put 1 Giga as a precaution for testing. But when I try to upload a 30 megas file, the status…
-
2
votes1
answer230
viewsPlupload - Refresh the page
I’m working on an online platform for the company I work for. On this platform I use Plupload to upload images. Everything’s working fine, except for one part. After the images are loaded (100%) I…
-
2
votes2
answers2341
viewsUpload and structure for image storage in Laravel
I started to build a portal, using Laravel, which has as requirements: users, sites belonging to users and classified belonging to users. As each of these requirements requires images, I would like…
-
2
votes1
answer898
viewsUpload Angularjs image with Java server
I’m having a problem uploading a web image, I’m using the angular file upload, when I upload it saves the image in the folder Frame -> Images of the browser, and when I will read the inputStream…
-
2
votes2
answers1142
viewsPlugin to upload multiple images
I have the following classes in my project. Galeria and Fotos I have a ViewModel where I take the data from Galeria and data from Fotos. When doing Submit (normal, not asynchronous Submit) Galeria…
-
2
votes1
answer1354
viewsUpload multiple files using Uploadfy in ASP.NET MVC
How to implement multi-file upload with uploadf? I find it very interesting to use the upload bars etc. is making this mistake: This is my controller: You may notice that you have many error…
-
2
votes2
answers1136
viewsHow to read a user-submitted file using Fileinputstream?
I would like the user to send a file . xls to the system and from this would be created a database. The method I have is working, but the parameter that Fileinputstream receives is a String…
-
2
votes1
answer121
viewsFile per folder limit - Django 1.7
Does Django 1.7 provide any upload control mechanism per folder? I say this because when the number of files in a folder gets too large it tends to get slower. An example would be: Every 800 files…
-
2
votes1
answer1490
views -
2
votes1
answer282
views404 ASP.NET MVC fails when attached file is large
I’m using the plugin jquery.filer to send files to attach files in my form. I chose this because it was a plugin that managed to manipulate it to send the data of the other inputs along with the…
-
2
votes2
answers1366
viewsimage upload with media content
How do I upload an image to meteor? I followed this tutorial here but it didn’t work very well. The image is apparently saved, because I checked on Collection and there is a record there, but I…
-
2
votes1
answer546
viewsSecurity issue when uploading
I have an application built with Codeigniter that uploads image files to a directory on the server. Running on the localhost works perfectly. When on the official server, an error is returned when…
-
2
votes1
answer539
viewsHow to upload using php without forms
I need to upload a file from the local server to another server. In this environment I compact the file on the local server and send the compressed file to the remote server. The remote server will…
-
2
votes1
answer731
viewsUpload photo and save original photo and one cut?
Here he is saving only the modified, I wanted to save the original and modified. <?php $page=" Upload de Imagens"; if (isset($_POST["cadastrar"])) { include_once 'classes/resize-class.php'; //…
-
2
votes1
answer204
viewsHow to upload to Silex?
I did some research to know how to upload files in Silex Framework, but I found nothing about it. Is there any way to do this through Silex? Or would I have to do with nail only with PHP?…
-
2
votes0
answers61
viewsUpload files with AJAX
I’m participating in a project but I can’t upload files using ajax. MODEL <?php // You need to add server side validation and better error handling here $data = array(); if(isset($_GET['files']))…
-
2
votes0
answers164
viewsPick up file path after upload?
I am making an email application using Vuejs and I am in the attachments part, and I want to get the file path because only it is enough for me to send the attachment using nodemailer. Is there any…
-
2
votes1
answer1297
viewsHow to upload an image through the clipboard (copy and paste)?
I was taking a look at the functionality of the site Imgur. When you make a printscreen or even copy an image (not the link, but the image, which is an option that is available in most current…
-
2
votes1
answer812
viewsupload multiple images
I know you already have some posts on this subject, but as I would just like to add to the code and not redo. In the code below, I need to add a way that the upload supports several images and as I…
-
2
votes1
answer1973
viewsHow to upload files using Selenium Webdriver in Java
Can someone help me to upload a file using Selenium using Java code? I made the code below: firefoxDriver.findElement(By.xpath("//a[@ng-model='picFile']"));…
-
2
votes1
answer163
viewsSend image in form with AJAX / PHP / Mysql
I’m redoing a form for a website that I need to send an image of, but I’m not able to upload and I need your help. I’ve already searched and I can’t find the answer... Function: function…
-
2
votes2
answers2005
viewsUpload photo taken by mobile shows rotated image
I have a system with a Photo Upload page. It’s a simple photo upload where you click on input, selects the image and end. After just submitting the form, the image is saved in a folder, and in…
-
2
votes1
answer98
viewsFunction for checking/checking Image Upload
My code: //return > 0 is ok! function _fileinput($name) { var_dump($name); $input['arquivo'] = $_FILES["$name"]["name"]; $input['arquivo'] = strtolower(str_replace("h","",$input['arquivo']));…
-
2
votes2
answers2833
viewsHow to upload . txt file and save to a directory using c# net mvc?
I would like to upload text files where I select N files. txt and saved in a directory I specified in the application; I made an example that was on the internet but could not get the files in my…
-
2
votes1
answer195
viewsImage Upload with PHP Returning an Error: Undefined index error
Good evening everyone, I am using a script that I have and that I always used to upload images only when I choose some images it returns the error undefined index error the only problem is that in…
-
2
votes1
answer457
views -
2
votes0
answers52
viewsUpload thumbnail post type frontend via AJAX
I have a professional registration form, where the same register entering name and image (photo). This registration without the use of Ajax, I can do, but it must be done in Ajax, and the image I…
-
2
votes0
answers137
viewsHTTP file streaming on Node
Hello, I am developing a system in which one of the fundamental parts is to transmit a file via Node JS. Suppose I have one connection to, this connection is uploading a file via HTTP. And there’s…
-
2
votes2
answers238
viewsGenerate Image Thumbs Before Uploading
I am looking for a solution without plugins that manages Thumbs of the selected images on <input type="file"/>, preferably with Javascript or at most jQuery. The idea is to have something like…
-
2
votes0
answers84
viewsUpload two files from two different Fields with multer
Using the ladies I am trying to upload two different files that comes from Fields in forms different and has different storage path also: let storageAudios = multer.diskStorage({ destination: (req,…
-
2
votes0
answers210
viewsUpload multiple files using the same request?
I am using the Vuejs/Quasar Framework to do the front end of my application and Hapijs to do the server. And in the uploading part of the attachments I’m running a test with uploading multiple…
-
2
votes2
answers4055
viewsWhat’s the best way to save an image on Mongodb?
I am developing a JS system with Node server and need to save images in Mongodb in a way that saves as much space as possible, and I am currently converting the image to String Base64 and saving as…
-
2
votes1
answer1061
viewsChange src attribute of an image when uploading via file type input
Eae you guys, blz? I need a code that when uploading an image via file type input it is displayed in a type of "preview". What I got so far is this: HTML: <div class="card"> <img…
-
2
votes1
answer800
viewsUpload images larger than 2mb
I have a simple system that uploads the image to a folder and writes the name and url to the database. But when I select an image larger than 2mb of the error in the target vaiavel that is equal to…
-
2
votes1
answer2783
viewsUpload ajax jquery php
I need the image upload to be done with ajax/jquery, following this structure: Form: <form> <input type="text" name="seu_nome" /> <input type="text" name="sua_senha" /> <input…
-
2
votes1
answer210
viewsError Converting Image to String to Save in Database
I’m trying to save an image in my form at the bank, but I’m having difficulties in solving the error: Field error in object 'usuario' on field 'foto': rejected value…
-
2
votes2
answers744
viewsHow to remove line breaking from txt file in PHP array
I have a txt file extracted from a PDF. I upload this txt via php, and need to remove the line break between the description items and put in an array, follows: TXT ORIGINAL: 0235.000001-4…
-
2
votes1
answer63
viewsHow to keep PHP session during long upload
Hello, I have a basic authentication system using Session for a file-upload system However, when some user with slow internet puts many files in the upload queue (10 or more files), and each file…
-
2
votes1
answer737
viewsDjango: How to set MEDIA_URL, MEDIA_ROOT and upload_to correctly?
I’m having a hard time with my Django project. I have a template to upload the images, where I have a field to add a description for each one, and another to search all the images with this…
-
1
votes1
answer890
viewsRead Word file without losing formatting
How to read a Word file without losing formatting the same? Status: Client wants to upload a Word file and we store all this within the database as text (for future searches and similar). Note:…
-
1
votes1
answer765
viewsUpload multiple files with Node.js
I’m trying to upload multiple files with Node.js, but I can’t do the server part. I am using Expressjs as a framework, and if necessary I can use other packages to facilitate this task. For now, I’m…
node.js upload file-upload express multiple-file-uploadasked 10 years, 5 months ago André Leria 5,047 -
1
votes4
answers14935
viewsHow to solve image upload problems in Wordpress?
After migrating to Kinghost, I’m having trouble uploading images to the Wordpress library. I normally upload the image but it seems that it does not enter the library, it is as if it had been…
-
1
votes1
answer129
viewsHow to add Midia in Wordpress Library programmatically?
Consider the situation where hundreds of files .jpg are already available in the directory wp-content/uploads/2014/09 by default and we need them to appear in the Media Library…
-
1
votes1
answer204
viewsError Uploading File to Database
I’m trying to upload a file to the database. Only instead of him sending the file to you, he’s sending you his temporary location. My code is like this: $arquivo = $_FILES['arquivo']; $name =…
-
1
votes2
answers1252
views -
1
votes2
answers1891
viewsUpload with $http post
In my controller, I have the following code that I use to post my form: $http.post(url, json_object).then(function (results) { console.log(results.data); }); The above code sends a json to the…
-
1
votes0
answers131
viewsUpload JSF Multiple Photos
I need to make a registration screen, where the user can choose up to 5 photos to save. I am using JSF 2.2 would like to know the best way to do this without using primefaces or richfaces, using a…