Is it possible to include a wildcard entry in the ExtensionMap.ini file? I want to include something like this:

.*  bin_    bin_    application/octet-stream

Which would mean any unknown file type is allowed to be downloaded using the above MIME type.

It's a good idea, please enter it as a feature request in the issue tracker.


people are uploading files in formats I hadn't considered. Since the files are for others to download, I would prefer to allow them to be downloaded without having to deal with the problem as users discover it.

You have to tell people on your upload page what formats you accept and that the file has to have one of the extensions you list. In your upload processor, use 'get upload extension' to check the extension and reject the upload if it doesn't conform.

There is really no reason to support more than .doc, .rtf, .txt, .wps and .pdf for uploaded resumes, because other than those (and perhaps one or two more) there isn't much guarantee that the prospective employer will have an application that will read it.

That's what I do for a site I did where resumes are uploaded. No one is complaining.

Regards,

   Aparajita
   Victory-Heart Productions
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to