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
Anyone can help?
#2
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
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.
#4
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
Can you give try to the dev version (as soon as drupal.org update it)
#6
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