Report this

What is the reason for this report?

I can't access the files with a direct link

Posted on May 19, 2015

Hello,

I uploaded my files to the server, but after the upload I can’t access the files with a direct link. For example http://dev.kfmc-nm.com/public_html/wp-content/SWF/Acute_GIT_Bleed_Scan/index.php http://dev.kfmc-nm.com/public_html/wp-content/PDF/Bone/BONE_SCINTIGRAPHY_E.pdf

and also on the main domain http://kfmc-nm.com/public_html/wp-content/SWF/Acute_GIT_Bleed_Scan/index.php http://kfmc-nm.com/public_html/wp-content/PDF/Bone/BONE_SCINTIGRAPHY_E.pdf

This is the how the file system is looking. http://oi60.tinypic.com/15zfg4y.jpg

I am not sure why I can’t access the files.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Without more information about what error you are seeing it is difficult to tell you what the underlying issue is. Based on what you’ve provided, the first thing I would do is to check the permissions on the files you uploaded. If you were using SFTP as the root user you may need to change the ownership to the Apache user (nobody).

chown -Rf nobody:nobody /path/to/your/files

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.