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
-
82
votes5
answers86551
viewsUpload a file with AJAX
I wonder if there is any simple way to upload files via AJAX + JSON. If there is, what would it be?
-
29
votes3
answers4056
viewsHow to get the value of the current percentage of an upload?
I’m working with PHP, but I imagine it can be done only with javascript/jQuery. When I upload the browser shows the percentage in the status bar. I would like to take this value and create from it a…
-
17
votes2
answers3144
viewsIs there a REST specification for uploading files?
I’ve been having second thoughts about it for almost a month. In certain to my application, the user can upload to a file library. This upload needs to be recorded in a table called midias, where,…
-
16
votes4
answers3235
viewsIs there a Website/API to host photos on the web?
I wonder if there is any API that makes it possible to host photos on the web. Example: cloud.push(arquivo, callback, fail); I will use this API for the purpose of enabling users to host images for…
-
15
votes1
answer10056
viewsUpload images with Crop and resize, jQuery and PHP
I need a function in which the person should upload an image, and it should "crop the image", leaving it in the right size, Facebook style and then should be saved in the databank. I tried several…
-
11
votes1
answer1662
viewsError sending Upload with Ajax
I am trying to send a file via Upload to a certain folder but I am not able to do and not understanding the error being accused by the script, I will try to be as clear as possible in the…
-
9
votes2
answers6651
viewsImage Upload
I am trying to upload images to my application. I have made a prototype upload, but it does not show the image, but its ID or NAME. And I’m uploading it to a folder I created in my project. My…
-
9
votes5
answers6499
viewsSave the binary content of an image in the database
How do I get the bytecode of an image at upload time to be able to store it in the mysql blob field without the need to save the image to ftp?
-
9
votes3
answers6948
viewsHow to crop an image to the center when uploading it
In the project here I want to display the images in a dynamic dimension square div where its maximum size is 240 x 240. Assuming a user uploads an image with rectangular dimension (ex: 500 x 280),…
-
9
votes3
answers8626
viewsProtect folder from direct access
The user needs to log in to access a list of documents. All documents are in the "/uploads folder". Once you know the directory, it is easy to access it, just type in the browser…
-
8
votes6
answers2251
viewsUpload files (always in different folders)
I wonder if it is possible (and how I could do) I create an upload system where whenever I upload a file, it goes to a different folder (always), and show me (or record) the path it generated. It is…
-
8
votes1
answer1584
viewsForm with a "file" type field arrives at the server with "$_POST" empty
On our hosting server, I have two projects, where both are with a module in our administrative area to manage images. In the project To, the form is submitted to the server and the $_POST is…
-
8
votes1
answer11801
viewsHas anyone managed to use jQuery File Upload yet?
I refer to this link http://blueimp.github.io/jQuery-File-Upload/. The documentation is very vague. I have already changed the "action" of the "form" but without success. Form Html5: <form…
-
7
votes2
answers521
viewsHow to serve files with access control in Django?
When studying Django, the typical way to handle uploading files was to create a folder media on the server - establishing a MEDIA_ROOT and a MEDIA_URL in the settings.py - where any uploaded file…
-
6
votes1
answer889
viewsUpload multiple files in PHP
I am developing an application in PHP where NF-e will be imported into the format XML. The problem is that the client will import multiple files at the same time, and I will have to take the data of…
-
6
votes2
answers1085
viewsSave image after upload
I am trying to save a cut image after the user uploads the image. The upload works well and I can save the image cropped too, but something strange is happening. The image is only cropped and saved…
-
6
votes1
answer5046
viewsClient/Server (Windows) with C Sockets
I’m trying to write a program written in C, which is able to upload a file or text to a particular server. I searched a lot on google but most of the tutorials are aimed at linux environment, either…
-
5
votes1
answer372
viewsHow to resize thumbnails generated by Uploadfy? ASP.NET c# MVC 4
Hello, I would like to know how to resize the thumbnails generated by jQuery Uploadfy plugins. As shown in the print below, it generates the thumbnails according to the actual size of the images, it…
-
5
votes2
answers2231
viewsShow image and upload an input
Hi, I would like to know how to get the path of an image contained in the value of a file type input. I am using the following code: $(document).on("change",'#Upload',function(){ var…
-
5
votes2
answers993
viewsProblem with uploading in PHP
In an input of type file, the tmp file is not being generated. this and the array generated by PHP Array ( [name] => desin3.jpg [type] => image/jpeg [tmp_name] => C:\xampp\tmp\phpE0D5.tmp…
-
5
votes2
answers1104
viewsFile Upload Multiple via ajax - PHP
I am trying to upload files via ajax and PHP with the following codes below and it is not working. I can’t identify what I’m doing wrong. Page <div id="bsUpload"> <form action=""…
-
5
votes1
answer21697
viewsCommands to upload files to github
I’m trying to upload files to Github. I already created the directory and in Github created the account. I cannot establish a connection to Github when I enter the folder containing the file I want…
-
5
votes1
answer317
viewsError while uploading an Angularjs+Vraptor file
I have a system where I can upload files through an Angular library (ng-file-upload), but if the file is larger than 3MB when I try to upload I have the following errors: GRAVE: Servlet.service()…
-
5
votes1
answer227
viewsFreeaspupload ASP Classic stopped working
At the company where I am working all the systems were built in ASP Classic, and we used Freeaspupload to download files sent through form, but this morning this class stopped working from nothing.…
-
5
votes1
answer842
viewsHow to Upload Multiple Files with Ajax?
I am trying to upload multiple files using ajax and came across the following problem, the beginning when I uploaded only one file it returned me in php the array $_FILES with the name of my file,…
-
5
votes1
answer504
viewsAngularjs - What is the best practice when uploading images?
I implemented this solution to upload images: MaquinaResource.save($scope.maquina, function (data, responseHeaders) { var formDataImage = new FormData(); for(var i = 0 ; i < $scope.images.length;…
-
5
votes1
answer57
viewsUpload file with post
In my view there’s this field: <form class="form-horizontal"method="post" action="<?=base_url('index.php/home/cadastro')?>" enctype="multipart/form-data"> <input id="img" name="img"…
-
5
votes1
answer98
viewsHow to upload photo using jQuery Picturecut?
I would like to do upload photo using the example of jQuery Picturecut. I followed all the guidelines provided by the site installing the folders and setting them to the code, but it is not working…
-
4
votes2
answers642
viewsUploads of files via ajax
How can I do several uploads, IE, I have a screen with several input of the kind file, how do I pass this via Ajax to my server? I’ve tried with Xmlhttprequest, but it didn’t work, it would if you…
-
4
votes1
answer214
viewscustomize input for multiupload images
How can I customize a file input field for multiupload images? would like to get some information from the image, such as: format, size. (I know there are several plugins for this, but I would like…
-
4
votes3
answers2327
viewsUpload a file with php
I’m using the following code : $uploaddir = '../vagas/'; $uploadfile = $uploaddir . basename($_FILES['img']['name']); echo '<pre>'; if (move_uploaded_file($_FILES['userfile']['tmp_name'],…
-
4
votes3
answers327
viewsUpload a file with parameters in Silex with Angular-File-Upload
I am doing a work 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:…
angularjs upload angularjs-directives file-upload silexasked 8 years, 4 months ago Vinicius da Silva 131 -
4
votes2
answers4167
viewsUpload files with AJAX
I am unable to upload some files with AJAX. I need to send 3 files with dynamically generated inputs, so I didn’t use the Multiple attribute. Firing the event, I get to xhr.send(files), which does…
-
4
votes1
answer414
viewsIs it dangerous to leave mod_mime_magic active in Apache?
Once I was arguing with a programmer more experienced than me (the user @Bacchus) about uploading files. I was commenting on it not making sense for someone to try to upload a file with extension…
-
4
votes1
answer250
viewsHow do I upload a file larger than 10MB without having access to php.ini?
Here’s what it is: My free file hosting gives me access to see information from the php.ini file, but I can’t modify it, I’ve tried creating a php.ini folder in the php.ini folder htdocs but it…
-
4
votes1
answer2094
viewsSend files via FTP with PHP
I have the following PHP code to upload PHP files and send to an external server via FTP. However, it returns me the following error when I upload: Warning: ftp_put(): Illegal PORT command. in…
-
3
votes1
answer72
viewsUpload does not work online, it appears on the screen part of the code of the Upload class
I created a project in PHP using the Codeigniter that uploads an image to the server. Locally it works perfectly, but online, hosted on a Locaweb server (Windows platform) shows an error, when I…
-
3
votes2
answers5118
viewsUpload android images to Server folder
How can I upload an android image to a folder on the server? I have the address of the folder that I can use to save image, I am already using this address to be able to grab the images but now I…
-
3
votes2
answers495
viewsHow to use Wordpress Media Upload on multiple buttons?
Follow the HTML code of the button and text field: <div class="meta-container"> <div class="label col-2 left"> <label class="squeeze-label">Imagem Logo:</label> </div>…
-
3
votes1
answer106
viewsUpload large or compressed files?
I have a problem sending files to the server for large files and an idea was to send some of them in compressed form .zip. Is there any problem in leaving open the part of upload so the user can…
-
3
votes1
answer435
viewsHow to get all image properties uploaded?
I am here browsing on Google but I did not find in a clear way how to get all properties of the image at the time of uploading in the script. I’m using it to get the image: $imagem =…
-
3
votes1
answer208
viewsHow to load files, folders and subfolders using php
I wonder if it is possible to upload files, folders and subfolders using PHP? I know who in java can do this kind of upload, but in php I could only upload multiple files.
-
3
votes1
answer275
viewsImport . csv file to server
I am performing a task to import data from a . csv file to the server. I can already import the file all right on the server side, but each file contains about 25 thousand records and the user is…
-
3
votes1
answer153
viewsWhy is uploading images to my Digitalocean server so slow?
I’m running a Java application using Play! Framework on my Digitalocean droplet. However, when uploading images through the browser I realize that the request is very slow and uploading an image of…
-
3
votes0
answers121
viewsUpload several files, though, each at a time?
I’m looking for some code that uploads several files to the PHP server, but in the style of Google Drive: One file at a time, but in the same form. Type the image below:…
-
3
votes1
answer1253
viewsUpload with ASP.NET Core json vs formdata
I’m using Asp.net core webapi, initially my actions were using the attribute [Frombody] in the parameters, so I rescued the json value sent by front-end. I am now implementing a screen that has…
-
3
votes2
answers85
viewsCrop image in wordpress and delete the original image
After the upload of an image in wordpress I would like to make a check if the registered image is larger than the stated limit size, if it is larger I want to delete the original image in the folder…
-
3
votes1
answer556
viewsHow do I upload to an FTP site?
Hello, I have an FTP account on a domain, it is password protected but I need a Delphi application to upload files instead of Filezila and others. How can I upload files? I tried according to some…
-
3
votes1
answer774
viewsUpload file with Cakephp
Regarding the upload file, I have the following codes so far: Controller: public function initialize() { parent::initialize(); $this - > loadComponent('Upload'); } public function upload() { if…
-
3
votes1
answer224
viewsUpload in batch Asp.net MVC5
I’m trying to develop a web system that works as a message-oriented social network. Having the classes usuario.cs and Informacao.cs (which acts as a message), need to provide attachments in this…