I am trying to create a downloadable product in Magento 2.1.7 but when I try to upload the downloadable file, I am getting this error:

Attention The file was not uploaded.

I tried changing the version but get the same result. Even when I try the direct URL to download the file, it shows error.


This error can be caused by server permissions / configurations. It could simply be a permission issue so please ensure your web server user has full rights as per it's recommended in devdocs http://bit.ly/2v325mQ.

If that doesn't resolve the issue then you may want to look at the file size and see it's not larger than the allowed file size on your server.

  • 1
    How to change the file size??
    – sam
    Jul 25 '17 at 10:34
  • 1
    Increase the values of upload_max_filesize in your php.ini file and if necessary change post_max_size too.
    – Devtype
    Jul 25 '17 at 11:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.