IMHO, the most simple and easiest way to do this is to use a content type with 1 file upload field. You can specify in the CCK field settings which directory the file will go. You can even use http://drupal.org/project/auto_nodetitle to remove the need to add a node title. Then you give those roles permission to create a node of that type.

Setup time: approximately 5 minutes.

Michelle

On 10/5/2011 2:25 AM, Wipe_Out wrote:
Hi,

I am far from the worlds greatest programmer so not at all sure how to do this..

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.. 

I have the plupload module loaded for use with the media module to create a gallery.. So since this is there already the ultimate would be to use this in a page but have the uploaded files go where I want them rather than the default Drupal files directory.. If this is quite complicated though I would be happy with a simple field that I can choose a file and hit upload..

I don't really need a content type for this because I only need the one page so really just looking for a way to put code directly into a page without breaking something badly.. :)

Code examples most appreciated.. :)

TIA



-- 
Michelle Ziegmann
===========================
Electronic Communications Specialist
University of California Berkeley
Educational Technology Services