Page 1 of 3
File attachment types
Posted: Fri Apr 23, 2010 10:01 pm
by PeterHB
I just tried to attach a .pdf file.
The board blocked it with "The extension pdf is not allowed."
Is this intentional? What file extensions are allowed?
Re: File attachment types
Posted: Fri Apr 23, 2010 10:02 pm
by Jordus
Go ahead and try it now...
Re: File attachment types
Posted: Fri Apr 23, 2010 10:10 pm
by Jordus
100% sure it works now.
Re: File attachment types
Posted: Fri Apr 23, 2010 10:22 pm
by PeterHB
Thanks. Works fine now.
Re: File attachment types
Posted: Tue Sep 18, 2018 6:35 pm
by xela
Same problem here, but with .csv and .txt extensions. Can you clarify whether it's by design or a bug?
Re: File attachment types
Posted: Wed Sep 19, 2018 4:19 am
by Kirby
xela wrote:Same problem here, but with .csv and .txt extensions. Can you clarify whether it's by design or a bug?
Not a bug, per se. it's just that there is a whitelist if allowed extensions for uploading. We disallow filed with arbitrary extension types to be uploaded. I don't see harm in csv or txt, so I've whitelisted them.
Posted: Wed Sep 19, 2018 6:07 am
by EdLee
Is .png disallowed for images ?
Ugh, yes. On iOS, a default screenshot is saved as a .jpg.
But iOS's Photos app's Crop function saves it as .png, which is disallowed for image upload here...

Is there a problem with allowing .png attachment here ?
Re:
Posted: Wed Sep 19, 2018 7:39 am
by BlindGroup
EdLee wrote:Is .png disallowed for images ?
Ugh, yes. On iOS, a default screenshot is saved as a .jpg.
But iOS's Photos app's Crop function saves it as .png, which is disallowed for image upload here...

Is there a problem with allowing .png attachment here ?
I haven't had a problem uploading png files. I've posted a few images on my journal in this format.
Posted: Wed Sep 19, 2018 3:30 pm
by EdLee
Hi BlindGroup,
Thanks. Were you using iOS Photos to crop a jpg photo, which became a png on your iOS device -- and you were able to upload it here ?

Re: File attachment types
Posted: Wed Sep 19, 2018 4:04 pm
by Kirby
gif, jpeg, jpg, png, tga, tif, and tiff are the currently allowed image types
Re:
Posted: Wed Sep 19, 2018 6:32 pm
by BlindGroup
EdLee wrote:Hi BlindGroup,
Thanks. Were you using iOS Photos to crop a jpg photo, which became a png on your iOS device -- and you were able to upload it here ?

They were crops of screen shots in Windows saved as png.
Re: File attachment types
Posted: Wed Sep 19, 2018 8:11 pm
by ez4u
Ed, are you talking about the case of using image tags rather than just "attaching" a png file?
Posted: Wed Sep 19, 2018 10:12 pm
by EdLee
Hi Dave, Kirby,
1. iOS Photos app: Crop a screenshot, save it to iOS "Photo Library"
2. L19 > Post Reply > Filename > tap "Choose File" button
3. iOS > iphone "Photo Library" > pick cropped photo from (1)
4. tap "Add the file"
5. Error message:
Image file type mismatch: expected extension jpg but extension png givenScreenshot:
Re: File attachment types
Posted: Thu Sep 20, 2018 1:46 am
by Tryss
What's the filename extension?
Posted: Thu Sep 20, 2018 2:13 am
by EdLee
Hi Tryss,
It's iOS; files and filenames are not readily shown.
Please see the reproducible steps and error message in post 13.
The error message, raw,
uncropped screenshot in post 13 was .PNG.
The iOS Photos
cropped photo has an unknown extension, since L19 refuses to upload it ( please see step 5, post 13, of the error message ).
This one off the net is .JPG: