FreiChat related discussions
Some Extensions won't be uploaded

Hi and great php program!
I have problems with MIME types of backend settings.
I tried different times but always get some error, and they seems strange.
I added these extensions:
image/jpeg,image/pjpeg,image/png,image/jpg,image/gif,application/zip,audio/mpeg,application/fsm,application/psd,application/osm

For example application/osm works fine. But application/fsm don't. Should work fine. (and is the same file, infact is generated by two different softwares but osm can be loaded in the other and fsm in the one that save osm).
Why i continues to get the error of file type?
Also PSD (photoshop) get wrong..

Can you help me?
i want to add:
mp3,txt,pdf,osm,fsm,psd,rar,7zip

Cheers!

Hi and great php program! I have problems with MIME types of backend settings. I tried different times but always get some error, and they seems strange. I added these extensions: image/jpeg,image/pjpeg,image/png,image/jpg,image/gif,application/zip,audio/mpeg,application/fsm,application/psd,application/osm For example application/osm works fine. But application/fsm don't. Should work fine. (and is the same file, infact is generated by two different softwares but osm can be loaded in the other and fsm in the one that save osm). Why i continues to get the error of file type? Also PSD (photoshop) get wrong.. Can you help me? i want to add: mp3,txt,pdf,osm,fsm,psd,rar,7zip Cheers!

Go to freichat/server/admin_files/_file_send

There is a file named mimetypes.txt , search for your necessary mime types in that file

Go to freichat/server/admin_files/_file_send There is a file named mimetypes.txt , search for your necessary mime types in that file
Necessity is the mother of all inventions!

I tried again.
Something does not work FSM and PSD too, using the reference of the text files for PSD...
Is there some chances to use extensions without mime types?

I tried again. Something does not work FSM and PSD too, using the reference of the text files for PSD... Is there some chances to use extensions without mime types?

Well you can do one thing , instead of writing the extensions that are allowed to be uploaded , you can do its reverse , i.e write all the extensions(mime types)
that should not be allowed to be uploaded , although this will require you to edit some code .

Or if it is not a security problem , then you can just allow all extensions .

Well you can do one thing , instead of writing the extensions that are allowed to be uploaded , you can do its reverse , i.e write all the extensions(mime types) that should not be allowed to be uploaded , although this will require you to edit some code . Or if it is not a security problem , then you can just allow all extensions .
Necessity is the mother of all inventions!
82
3
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft