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

CommentFileSizeAuthor
#3 filebrowser-tokens.patch6.86 KBYoran

Comments

julient’s picture

Anyone can help?

julient’s picture

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.

Yoran’s picture

StatusFileSize
new6.86 KB

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.

julient’s picture

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.

Yoran’s picture

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

wisemas’s picture

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

Yoran’s picture

Status: Active » Fixed
dead_account_kill_it_please’s picture

Status: Fixed » Closed (fixed)