Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it possible to restrict certain uploads based on file size?

0
Posted

Is it possible to restrict certain uploads based on file size?

0

After the file is uploaded you can check for the file size and delete it if it is too large, but there is no way to measure the file size on the upload page itself before the upload. JavaScript does not provide any methods for access to the files in the drive of the user.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.