Hello,

I would like to create a page where anyone (including non registered users) can navigate to and upload a file. I just want them to see an input field and a browse button that allows them to browse their computer and select the file. I then want them to be able to click the upload button to upload the file to the files directory. I tried my best to figure out how to do this but I came up short. Any advice would be appreciated.

Thanks,

montag

Comments

montag451’s picture

I'm still having trouble resolving this issue. Anyone have any suggestions?

shawnp’s picture

You could go to "administer > modules" and then enable the core upload module. Then you could go to "administer > access control" and then check the options for "create page content" for for "anonymous user" and "authenticated user". Do the same for the "upload files" and "view uploaded" files which would give those users access to upload files. Make sure that php can not be posted to these nodes, as this can be a big security risk.