Probem with File Upload and possibility to use token

julient - May 21, 2009 - 10:33
Project:Filebrowser
Version:6.x-2.0-rc10
Component:Directory Listing Pages
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,
I've been playing with different file directory modules and trying to find the most suitable for my case.
I like the front-end user interface of Filebrowser so hope I can use that one.
I do have 2 issues though.
1) I get a "Sorry, you can't upload this kind of file" when trying to upload a doc file, though I have put "*.doc" in the allowed file types. Am I missing something?
2. For the directory path, I would like it to be dynamic (based on the username) so it can be used as a personal storage area without creating one directory per users. Is it possible? I tried using tokens but it doesn't seem to be supported.
Thanks for help.
Julien

#1

julient - May 29, 2009 - 07:20

Anyone can help?

#2

julient - June 4, 2009 - 14:32

No one?
I'm new to Drupal and it's not easy to figure out everything on your own. Some help would be more than welcome.

#3

Yoran - June 16, 2009 - 22:41

Sorry for the late answer.

About uploading *.doc, you should use last release RC10. I just made a try for you with a doc file (File Upload section, Allow Upload checked and *.doc in allowed files). And upload is juste working fine.

For tokens, I attached a patch you can apply against RC10, tell me if this is what you need.

AttachmentSize
filebrowser-tokens.patch 6.86 KB

#4

julient - June 19, 2009 - 21:41
Version:6.x-2.0-rc9» 6.x-2.0-rc10

Hi,
I have the same problem with RC10. I double checked that I get Allow Upload checked and that I have *.doc in allowed files.
When I try to upload a file, I still get "Sorry, you can't upload this kind of file."
Thanks for the patch but cannot test it till I fix my upload issue first.

#5

Yoran - July 19, 2009 - 12:39

Can you give try to the dev version (as soon as drupal.org update it)

#6

wisemas - August 4, 2009 - 00:43

Hi,

I had the same issue with a site I was working on. I checked the file upload settings and found that my WYSIWYG editor had wrapped the settings in < p > tags. I removed the < p > tags and the site seems to be working fine now.

Thanks

 
 

Drupal is a registered trademark of Dries Buytaert.