padams Posted November 7, 2007 Share Posted November 7, 2007 I have set up a form that enables me to upload files to my web server, and it does it by creating a temp table then moving it to a directory called "uploads". However, I get an error telling me that I don't have permission to write to this directory. Is there a way around this or do I need to take it up with out web host? Also, I know that it isn't secure to enable files to be uploaded so I have password-protected the upload pages, but is this sufficient? If not, what would a more secure method be? I realise I could simply FTP the files myself but the site is for somebody else who struggles on a computer and a web form would make their (and my!) life a lot easier. Quote Link to comment Share on other sites More sharing options...
rempires Posted November 7, 2007 Share Posted November 7, 2007 i'm not sure what your host if offering you, but if you are running cpanel then click file manager, then click on the folder you want to allow uploads to, next click change permissions and there are our permission options, such as read write and execute Quote Link to comment Share on other sites More sharing options...
padams Posted November 7, 2007 Author Share Posted November 7, 2007 Done! Thank you. Does anyone have any opinions on the most secure way to upload the files? I have this nagging feeling that I am opening their server up to attack if someone beats the password protection. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.