[support] A file upload page on my site..

Ted ted-drupalists at webfirst.com
Wed Oct 5 14:05:46 UTC 2011


On 10/5/2011 5:25 AM, Wipe_Out wrote:
> I want to create a page that will allow particular roles to simply 
> upload a .pdf file to a configured directory on the server.. I have 
> content_access installed so access control shouldn't be a problem..
>
> What I am not sure how to do is create the field on the page for the 
> upload and tell it where to save the file..
> <snip>
> Code examples most appreciated.. :)
>
The examples module/project has all the code you need, particularly in 
the file_example and form_example modules. Are you on d7 or d6?

Ted


More information about the support mailing list