Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Accepted file upload. Can not send .xlsx

Open felixwidjaja opened this issue 10 years ago • 7 comments

Accepted file: image/,audio/,application/,text/ But we can't send .xlsx Please help. Thanks in advance!

felixwidjaja avatar Dec 16 '15 07:12 felixwidjaja

Nevermind. Had to restart rocket.chat process and problem is gone.

felixwidjaja avatar Dec 16 '15 07:12 felixwidjaja

You can use the following mime type to upload:

application/msword - for .doc application/vnd.openxmlformats-officedocument.wordprocessingml.document - for .docx application/vnd.ms-excel - for xls application/vnd.openxmlformats-officedocument.spreadsheetml.sheet - for .xlsx application/vnd.ms-powerpoint - for .ppt application/vnd.openxmlformats-officedocument.presentationml.presentation - for .pptx

ravimallya avatar Dec 16 '15 10:12 ravimallya

As @rafaelks said, it works, thanks.

javaning avatar Jan 16 '16 00:01 javaning

I'm actually having this issue as well, no restart combo fixes. Cannot upload XLSX or even CSV? Why limit by mime-type in the first place?

aaronhagopian avatar Feb 02 '16 03:02 aaronhagopian

@aaronhagopian try this: image/*,audio/*,application/*,text/* And don't forget to restart rocket server to apply changes.

felixwidjaja avatar Feb 02 '16 03:02 felixwidjaja

Thanks, new to rocketchat, didn't realize the settings were so restrictive to start. Working now.

aaronhagopian avatar Feb 02 '16 03:02 aaronhagopian

Hello, I have the same Problem and I try to set image/*,audio/*,video/*,application/zip,application/pdf,text/plain, text/csv,application/ms-powerpoint,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.oasis.opendocument.spreadsheet,application/vnd.ms-excel And now I can upload .xlsx , xls, .ods If you need some other format set it to end of line.

linuxmangr avatar Dec 28 '18 12:12 linuxmangr