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

Jim Ruby jim at v-community.com
Wed Oct 5 09:58:18 UTC 2011


I would look in to the filepath module. Not sure if this would help or not,
but it will allow you to change the default path where files are saved.


Follow me on:
Twitter: http://twitter.com/1rubytweets
Facebook: http://www.facebook.com/profile.php?id=1058306793
Join me on:
Yahoo: jruby6767
Msn: jruby at charter.net


-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Wipe_Out
Sent: Wednesday, October 05, 2011 4:25 AM
To: support at drupal.org
Subject: [support] A file upload page on my site..

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



More information about the support mailing list