Questions tagged as 'file-upload'

1
answer

Upload file via FTP - PHP

I'm trying to upload files to a specific folder on my Hostgator server, however I put the exact path of the folder and the file does not appear in the folder that set the path, it appears in the root folder. Here is the code: ' /*----------...
asked by 01.11.2018 / 15:00
1
answer

How to change cover photo [closed]

How to update photo of this cover from my computer with javascript, button input type="file" or with nodejs.
asked by 13.07.2017 / 19:36
1
answer

Changing the identification data of a file at upload

I'm trying to rename a file according to what the user provides, but an error occurs but is given as $_FILES["arquivo_foto"]["error"] -> 0 Shipping Script <?php $diretorioimagens = "arquivos/image/"; $uploadarquivo = $diretor...
asked by 12.05.2017 / 17:09
1
answer

move_uploaded_file (): Unable to move

foreach ($_FILES["inputfileSendTorrent"]["error"] as $key => $error) { $arqName = $_FILES['inputfileSendTorrent']['name'][$i]; $arqTemp = $_FILES['inputfileSendTorrent']['tmp_name'][$i]; if(!@move_uploaded_file($...
asked by 20.02.2017 / 20:42
1
answer

PHP Curl Image Upload

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 class="form-col col-1"> <label cla...
asked by 29.10.2015 / 13:01
1
answer

How to write image to database with JSF2

I'm having a JSF project with the DAO template using Hibernate , and I'm having a hard time understanding how to save the image in the database. I just need to know what the method would look like to save an image to a DAO cla...
asked by 07.05.2015 / 23:58
1
answer

move_uploaded_file returns only FALSE

I have a problem that I could not identify, move_uploaded_file returns only FALSE regardless of what I pass in the parameters. Here is the code: <form method="POST" enctype="multipart/form-data"> <input type="file...
asked by 26.10.2018 / 18:30
1
answer

change text from an asp.net fileupload

Can you change the text inside FileUpload? I wanted to change the text "No file selected"     
asked by 03.05.2018 / 13:25
1
answer

Convert Blob to Non-angular String

Hello, I have a code in angularJS but it only works when I am in the browser debug. $scope.upload=function(){ var newFiles = []; $scope.carregando = true; angular.forEach($scope.files, function (item) {...
asked by 04.03.2018 / 05:50
1
answer

Ruby on Rails - Upload files

I currently have a requirement to allow the user to upload PDF and DOCX files in my size limiting application. How can I develop this functionality using Rails? Physical files will be saved to the AWS cloud, and I just want to keep the file i...
asked by 13.01.2018 / 11:39