How can I download a file from digitalocean?

March 28, 2018 1.3k views
FAQ

I'm new.
I have a problem about 403 as below.
When I put URL on browser, it appears.
(I just would like to check whether I can download it or not,
that's why I put url on browser.)

How can I download files that is already uploaded in DigitaOcean?
I wonder if URL structure is wrong.

Thank you.

Error

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<RequestId>**********************************-005abb5289-163c5f-nyc3a</RequestId>
<HostId>*****-nyc3a-nyc</HostId>
</Error>

URL

https://nyc3.digitaloceanspaces.com/{FILE_NAME}?AWSAccessKeyId={ACCESS_KEY}&Expires=1585464193&Signature={SIGNATURE}
2 Answers

You need to change permission in your folder access into 766 or 777 (fastest way)
if you are using debian or Ubuntu you need to log in to your droplets and type

chmod 777 /var/www/html/ 

u can change /var/www/html to the directory that you need to change

i never using the spaces but I think its also same

As I know, it is done through a parser, I will not say exactly how, but a parser.
Your, writer from essay-grader.com

Have another answer? Share your knowledge.