Questions tagged as 'upload'

1
answer

AngularJS - What is the best practice when uploading images?

I've implemented this solution to upload the images: MaquinaResource.save($scope.maquina, function (data, responseHeaders) { var formDataImage = new FormData(); for(var i = 0 ; i < $scope.images.length; i++) { formDataImage.ap...
asked by 21.06.2016 / 15:36
1
answer

FreeASPUpload Classic ASP stopped working

In the company I'm working on all systems were built in Classic ASP, and we used FreeASPUpload to download files sent through form, but this morning this class stopped working out of nowhere. Has anyone gone through this? The code I use to ge...
asked by 14.12.2015 / 14:16
1
answer

Error 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 () for servlet [default] in context...
asked by 14.12.2015 / 12:02
1
answer

How to resize thumbnails generated by Uploadfy? ASP.NET C # MVC 4

Hello, I would like to know how to resize the thumbnails generated by the jQuery Uploadfy plugins. As I show in the print below, it generates the thumbnails according to the actual size of the images, is it a good practice to only resize them in...
asked by 17.03.2014 / 15:21
1
answer

How to multiply uploaded files with Ajax?

I'm trying to upload multiple files using ajax and I came across the following problem, at first when I uploaded with just one file it would return me in php the array $_FILES with the name of my file, so I could move to my temp folder....
asked by 25.01.2016 / 18:39
1
answer

Upload file with post

My view has this field: <form class="form-horizontal"method="post" action="<?=base_url('index.php/home/cadastro')?>" enctype="multipart/form-data"> <input id="img" name="img" class="input-file" type="file"> In my controlle...
asked by 11.10.2016 / 20:20
0
answers

How to upload a photo using jQuery PictureCut?

I would like to upload of the photo using the jQuery PictureCut . I followed all the guidelines provided by the site by installing the folders and setting them to the code, but it is not working on my server. It does not even send or appea...
asked by 04.11.2016 / 20:20
3
answers

Uploading 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'], $uploadfile)) { echo "Arquivo válido e enviad...
asked by 19.10.2015 / 00:46
1
answer

Send files via FTP with PHP

I have the following code in PHP for UPLOAD of files in PHP and send to an external server via FTP. However, it returns the following error when I do UPLOAD: Warning: ftp_put(): Illegal PORT command. in /var/www/protocolo/teste/envia.php on li...
asked by 05.06.2017 / 16:52
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