Quantcast
Channel: User Hamfri - Stack Overflow
Viewing all articles
Browse latest Browse all 42

Answer by Hamfri for Using “ng2-file-upload” with Angular 2 and Typescript, can't upload file above, 1MB

$
0
0

Only two things could cause this:

Client sideif ng2-file-upload maxFileSize parameter is less than 1MB

Server sideIf you are using PHP on the serverside adjust the following parameters in php.ini

  1. post_max_size = 50M # implies that a single post request should notexceed 50MB at any given time no matter the number of filesuploaded.

  2. upload_max_filesize = 50M # Implies that no individual file shouldexceed 50MB per request

  3. max_file_uploads = 10 # implies that only 10 files can be uploadedin a single request


Viewing all articles
Browse latest Browse all 42

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>