w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Permission denied while uploading a file

The problem is that your folder is not having write permission. And because of that it is not uploading the file.

You have to give it write permission. You can also use chmod for giving write permission to that folder.

Also check who is having that write permission for that folder. When you upload the file from code it is uploaded as Other user.

More info





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.