Re: [support] Upload pdf, xls and doc files
Hi Maurice Yes Drupal 6 is right. Have filefield installed. I don't want to give contributors access to /sites/default but to a communal repository somewhere on the server which can be reviewed by a responsible person with accept or reject permission. I would prefer that files are uploaded then reviewed, then the responsible person places them in /sites/default/ some_directory. Begs a question. Is it secure to let files be uploaded to /sites/default, am I being overly pedantic? Roger
Hi Roger,
I assume you are using Drupal 6. Are you using core file module or filefield. I assume the former since you say nothing about it. Also, it is strange that you want save files outside of your sites/default (or whatever your drupal root is if you are using multisite). I have never tried that myself, but it seems to work. Usually it is sites/default/files I guess. Try to change the file settings (admin/settings/file-system/settings).
Maurice
On Sat, Oct 23, 2010 at 2:14 AM, Roger<arelem@bigpond.com> wrote:
I've set up a document upload on the remote server but it defaults to my home directory. I need it to default to /sites/all/documents which is where all the pdf's reside
How can I set the default path please Roger -- [ Drupal support list | http://lists.drupal.org/ ]
------------------------------
I'm trying to get Drush running, but if I run a command like /drush -r /var/www/html -uri=http://dev.mysite.com help I just get back Array ( ) I'm running the latest version,All-versions-3.3, latest 6.x Drupal code, and I'm on a Linux Redhat server. Thanks. -Don- dpickerel
1. It would seem from your note that you've installed drush in the server root. That seems strange. 2. I'm not a Drush wizard, but I tried running your command (not sure what it's meant to do). My drush works for me (I use it every day), and I got an empty array, too. So it looks like there's nothing wrong with your drush. Rather, your command is wrong. On 10/24/2010 10:04 PM, Don wrote:
I'm trying to get Drush running, but if I run a command like /drush -r /var/www/html -uri=http://dev.mysite.com help I just get back Array ( )
I'm running the latest version,All-versions-3.3, latest 6.x Drupal code, and I'm on a Linux Redhat server.
Thanks. -Don- dpickerel
Thanks. You're right. I also found --debug and a bad configuration setting in settings.php. -Don- dpickerel On 10/25/2010 1:48 PM, Christopher M. Jones wrote:
1. It would seem from your note that you've installed drush in the server root. That seems strange.
2. I'm not a Drush wizard, but I tried running your command (not sure what it's meant to do). My drush works for me (I use it every day), and I got an empty array, too. So it looks like there's nothing wrong with your drush. Rather, your command is wrong.
On 10/24/2010 10:04 PM, Don wrote:
I'm trying to get Drush running, but if I run a command like /drush -r /var/www/html -uri=http://dev.mysite.com help I just get back Array ( )
I'm running the latest version,All-versions-3.3, latest 6.x Drupal code, and I'm on a Linux Redhat server.
Thanks. -Don- dpickerel
participants (3)
-
Christopher M. Jones -
Don -
Roger