Questions tagged as 'file-upload'

1
answer

How do I extract information from a video when uploading with FileUpload?

On the system I'm doing, I need to prevent a video from being uploaded for more than 1 minute and let the user know. Any way to do that? Thank you.     
asked by 04.02.2018 / 15:30
0
answers

Required MultipartFile parameter 'file' is not present when I make a request for Angular 4

I can make a request to upload a file through Postman, but when I make the request of the Angular, the WARN "Required MultipartFile parameter 'file' is not present" Here's my Java API feature with Spring boot. @PostMapping public ResponseEn...
asked by 31.01.2018 / 11:43
0
answers

Upload management for web service

I am developing a web system and a web service. I have a customer registration, where I send and manipulate the information [name, email, cpf ...] and also a profile photo. my question is, what is the best way to be approached to manage the prof...
asked by 07.02.2018 / 12:54
0
answers

Angular 2 error while executing file upload

I have a system that uploads files from an angular application 2 to a java system and saves it to a sql server database. In the angular application 2 and in the system in java I am saving in String format, and in sql server database in the forme...
asked by 26.01.2018 / 12:17
1
answer

I can not execute a class

So folks, I'm trying to run an application to upload an image to my server. Without saving this data in the database, uploading normally occurs, but when trying to include the image link in the database, php simply does not execute, as if it had...
asked by 30.01.2018 / 16:07
0
answers

Angular 4 turn blob into pdf and show in tag object

I have an application, currently angular 4, and would like to be able to upload files saved in the bank into formed Blob. the command below works correctly and downloads the file. downloadArquivoAnexo(documento: Documentos){ if(!docume...
asked by 30.01.2018 / 15:40
0
answers

Jquery.Validation file upload allows post even with other invalid fields

Use jquery.validation v.1.17 and additional-methods.js to validate multiple fields, including file uploads . I use the bootstrap and program in C # .NET . There is no UpdatePanel on the page. After loading the form, when you click Save,...
asked by 02.02.2018 / 13:22
1
answer

Invalid argument for chmod ()?

I'm trying to get the dimensions of each photo sent, but when I run the file it happens: Error: Warning: chmod(): Invalid argument in C:\Program Files (x86)\EasyPHP- Devserver-17\eds-www\PPI\adm\cadastrar_jogo.php on line 15 Warning:...
asked by 06.12.2017 / 02:10
1
answer

File upload in PHP

I'm developing this code to upload files to the server. But it's not working the way I want it to be: 1 - If the user does not choose any file, it should ignore the file validation (as there is no file); 2 - If there is at least one fil...
asked by 22.11.2017 / 20:44
2
answers

How to validate an upload by filename?

I'm trying to validate the upload of a file, and it should always be called new.mpg , otherwise the program will not work. function validarNomeArquivo(){ //variavel que recebe o nome do arquivo var oImg = "bgs/newFile.mpg";...
asked by 30.11.2017 / 17:31