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
answers85
viewsUndefined index - audio upload
I have a small code to upload audio, but is showing Undefined index error in two lines referring to "audioFile". Notice: Undefined index: audioFile in C: xampp apps wordpress htdocs upload.php on…
-
0
votes1
answer551
viewsHow to recover image from Storage folder using INTERVENTION IMAGE Laravel 5.2?
This solution works in Public more folder when switching to Storage folder I can’t grab the image and display in the view someone can help me? Controller public function profile(){ return…
-
0
votes1
answer245
viewsHow to delete an image from Storage Folder 5.2?
I’m using this code to upload image this all working my doubt and in the if condition to delete the old image I have to leave a default image.jpg as default plus my condition if this deleting that…
-
0
votes0
answers94
viewsSend form with file using ajax web api Entity framework
I’m trying to send a file along with the form to the database, but when I send it returns me error 400 bad request, I don’t understand why. Curriculoscontroller // POST: api/Curriculos…
-
0
votes2
answers156
viewsHow to validate an upload by file name?
I am trying to validate the upload of a file , and the same should always be called new.mpg, if not, the program will not work. function validarNomeArquivo(){ //variavel que recebe o nome do arquivo…
-
0
votes1
answer44
viewsInvalid argument for chmod()?
I’m trying to receive the dimensions of each photo sent, but when I run the file happens this: Error: Warning: chmod(): Invalid argument in C:\Program Files (x86)\EasyPHP-…
-
0
votes0
answers170
viewsRequired Multipartfile Parameter 'file' is not present when I make a request through Angular 4
I can make a file upload request through Postman, but when I make the Angular request, WARN is returned "Required Multipartfile Parameter 'file' is not present" Follow my API feature made in Java…
-
0
votes1
answer34
viewsI can’t run a class
So guys, I’m trying to run an app to upload an image to my server. Without saving this data to the database, the upload usually occurs, but when trying to include the image link in the database, php…
-
0
votes1
answer169
viewsConvert Blob to String in Anglican
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…
-
0
votes1
answer157
viewsMove_upload_file does not work
I am developing a code to open an xml, if the file does not exist, a new one will be created, beauty, the system is creating, but when it comes to moving the file to the folder that it will be…
-
0
votes1
answer78
viewsSafari sends $_FILE as empty (NULL) via Ajax
I have an image upload script that works normally with Chrome, EDGE, Firefox and Opera. But it doesn’t work with Safari. The Safari browser opens the windows window for me to choose an image. When…
-
0
votes1
answer107
viewsPHP: Upload files works for images but does not work for PDF files
I’m having a strange problem: my form works for uploading images but does not work for uploading PDF files. My code is this: $titulo = $_POST['txtTitulo']; $descricao = $_POST['txtDescricao'];…
-
0
votes1
answer296
viewsmove_uploaded_file returns only FALSE
I have a problem I couldn’t identify, move_uploaded_file returns only FALSE regardless of what I pass in the parameters. Follow code: <form method="POST" enctype="multipart/form-data">…
-
0
votes0
answers38
viewsProblem with file upload with ajax/jquey and Laravel 5.7
Good morning friends, I need to make a request in ajax with Aravel 5.7, but for some reason ajax is only processing and does not return a response, follow the code: Ajax: jQuery.ajax({ url: "{{…
-
0
votes1
answer447
viewsUpload file via FTP - PHP
I am trying to upload files to a specific folder of my Hostgator server, however I put the exact path of the folder and the file does not appear in the folder I have set the path, it appears in the…
-
0
votes1
answer408
viewsAngular 7 / Typescript: grab value from within an onload function (upload files, grab content from a file)
I have the code below where I upload a file and want to get its contents in a variable. For this I use the function onload that gets me the result, which is the contents of the archive. But the…
-
0
votes1
answer544
viewsUpload files and other data from Angular 7 app to Asp Core Web Api 2.1.1
I’m having a problem uploading files using Angular 7 to API written in c# Asp Core 2.1. Searching the web I found several examples uploading the file only, but I need to upload the file and in the…
asp.net-core file-upload angular-7 asp.net-core-web-apiasked 5 years, 7 months ago Ricardo Alves 484 -
0
votes1
answer134
viewsProblem in image size validation
In my application I make a preview of the image, this part is ok, but the client wants to validate the dimensions before the upload. At first it would also be ok, if it were that in a few moments…
-
0
votes1
answer542
viewsUpload/Download large files with ASP.NET Core 2.2
I need to upload and downlods files above 2GB using ASP.NET Core 2.2, but I don’t know the best way to do this. For the download, to using the following method: [HttpGet("id")] public IActionResult…
-
0
votes1
answer165
viewsjQuery Ajax File Upload error serialize
I am implementing an upload system in my system but am not able to recover the upload data via jquery serial when I pass the data without input file it works normal and does not present me error.…
-
0
votes1
answer102
viewsHow to import file to Ruby on Rails system without receiving "No sunch file or directory @ rb_sysopen - file.txt
My program reads a file . txt for example, iterates over the internal information and store in the database. But at the time the file is sent he gives an error saying he does not know the file…
-
0
votes0
answers204
viewsUpload files to Sharepoint in a specific folder using Python
I am uploading file from my machine to Sharepoint using python with lib Office-REST-Python-Client, but I can only upload the file to the Sharepoint root and not to a certain folder. Code I’m using…
-
0
votes1
answer250
viewsHow to upload file to FTP server in Python?
I have a script that generates a CSV file and saves with the name of the current date. I’m trying to make a script that checks the latest created file and sends it to the FTP server. How can I do…
-
0
votes0
answers8
viewsFiletransfer plugin Return error500 in Ionic
I’m having problems with the fileTransfer, when I send an image it accepts sending normally, when sending in pf format it Reaches 99 Percent of sending and Returns error 500, a Detail that "taught"…
-
0
votes0
answers20
viewsEfficient way to save a File object locally for later use
Hello! I am developing a web app, and in it uploading files are done. When the user is offline (it’s a PWA) I need to save these files locally to upload later. I cannot save a File object directly…
-
0
votes1
answer38
viewshow to send multiple files to firebase at once with flutter
I need help with this question. I’m new to flutter. and can’t send more than 1 file at the same time to firebase with this code I can send 1 file without problems, but when selecting 2 files in the…
-
-1
votes1
answer1144
viewsjQuery File Upload error parseMetaData
This morning the jquery File Upload stopped working in all the places I use, I have a local base and another online, but both have the same error: Uncaught Typeerror: Cannot read Property…
javascript jquery file-upload multiple-file-uploadasked 10 years, 3 months ago Renan Rafael Bertoldo 993 -
-1
votes1
answer74
viewsFile Upload
I am new to php and database and have never uploaded files. I have read and advise only to store the path of a file in the database and not the file itself. I was advised to see in…
-
-1
votes2
answers59
viewsIs there a type of Javascript that stores data from any file?
Ex: In a form in a file type input field in an html any user of my system attaches a file. After pressing Submit I wish the file to be kept in a Javascript variable. Is there any type capable of…
-
-1
votes1
answer186
viewsDjango Filefield Image and Video Restriction
I would like to know how I can limit the file type on FileField django? I know I can add this validation in the Form. I just wish you could send videos and images in this field, nothing else.…
-
-1
votes1
answer142
viewsAngular 7: How to identify the Encounter of a File?
I have a function that runs when uploading files, I would like to identify the type of this Encounter. I am using the code below. async uploadFile(event) { var document; var reader = new…
-
-1
votes1
answer101
viewsWhat is the best way to store files in a webapplication?
I intend to store files of type docx, pdf, among others to access in my web application, where the database is Mysql, and the framework used is Codeigniter. Could someone explain me which way would…
-
-1
votes1
answer39
viewsProblem while uploading images
I have a form inside a table, and it will duplicate the lines as many times as I want, follows: <table class="table table-striped table-bordered table-hover" > <thead> <tr> <th…
-
-1
votes1
answer108
viewsThe.pdf file is not sent to the server
I’m making a system to register the file name and some other information in the database, and also upload the file to the server, but only the database is registered, but when uploading the file to…
-
-1
votes2
answers354
viewsError mimetype application/octet-stream in jpeg image with Laravel
When trying to upload an image with Laravel I notice a different code behavior depending on the size of the image preventing the upload of the file as demonstrated in the image below that I get with…
-
-1
votes1
answer252
viewsList data files using PHP-mysql
Hello. I am a beginner in programming and I am developing a project. I have already performed the code to upload the file, now I would like to list these files in a table and it shows a column with…
-
-1
votes1
answer35
viewsI’m trying to play the values of the "arquivos_b64" array in the textarea but I can’t. In the console.log the values are displayed
(function() { var fileCatcher = document.getElementById('file-catcher'); var fileInput = document.getElementById('file-input'); var fileListDisplay…
-
-1
votes1
answer26
viewsHow to display a hidden icon after loading a file through input file
I have a screen where there are several input type="file" and I’m trying to make an icon appear when the user loads a file, making it easier to see that that input is already with a file. Below…
-
-1
votes1
answer43
viewsimplode(): Invalid Arguments passed
I’m working on a system for uploading contents and various photos in which I need change file names using md5 hash and creating a string with the new names but I’m finding it difficult to use MD5…
-
-2
votes1
answer8180
viewsInsertion of pdf and doc documents
I’m doing a Backoffice in which I have to insert documents .doc and .pdf but I don’t know how to do it, someone can help? <form name="form" method="post" action="envia_pdf.php"…
-
-2
votes1
answer277
viewsWhy can’t I upload more than 2mb with this script?
<form action="" method="post" enctype="multipart/form-data"> <input type="file" name="fileUpload"/><br/> <button…
-
-2
votes1
answer86
viewsUpload React-Native image with Xios and Multer, backend with nodejs
I need to upload an image pro backend and save it, but the api function does nothing Function calling the Axios const teste = () =>{ console.log(picture) Axios.post(apiPath+'/api/addPostagem',…