File attachment types

Is something wrong? Do you have any suggestions? Let us know.
User avatar
PeterHB
Lives with ko
Posts: 130
Joined: Wed Apr 21, 2010 6:31 pm
Rank: 3k EGF 3k KGS
GD Posts: 0
Location: UK, Nr. London
Has thanked: 163 times
Been thanked: 67 times

File attachment types

Post 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?
User avatar
Jordus
Site Admin
Posts: 1125
Joined: Fri Dec 04, 2009 6:06 pm
Rank: KGS 9k
GD Posts: 0
Universal go server handle: Jordus
Location: Allegan, MI, USA
Has thanked: 16 times
Been thanked: 116 times
Contact:

Re: File attachment types

Post by Jordus »

Go ahead and try it now...
I'm thinking...
User avatar
Jordus
Site Admin
Posts: 1125
Joined: Fri Dec 04, 2009 6:06 pm
Rank: KGS 9k
GD Posts: 0
Universal go server handle: Jordus
Location: Allegan, MI, USA
Has thanked: 16 times
Been thanked: 116 times
Contact:

Re: File attachment types

Post by Jordus »

100% sure it works now.
I'm thinking...
User avatar
PeterHB
Lives with ko
Posts: 130
Joined: Wed Apr 21, 2010 6:31 pm
Rank: 3k EGF 3k KGS
GD Posts: 0
Location: UK, Nr. London
Has thanked: 163 times
Been thanked: 67 times

Re: File attachment types

Post by PeterHB »

Thanks. Works fine now.
xela
Lives in gote
Posts: 652
Joined: Sun Feb 09, 2014 4:46 am
Rank: Australian 3 dan
GD Posts: 200
Location: Adelaide, South Australia
Has thanked: 219 times
Been thanked: 281 times

Re: File attachment types

Post by xela »

Same problem here, but with .csv and .txt extensions. Can you clarify whether it's by design or a bug?
Kirby
Honinbo
Posts: 9552
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: File attachment types

Post 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.
be immersed
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post 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 ?
BlindGroup
Lives in gote
Posts: 388
Joined: Mon Nov 14, 2016 5:27 pm
GD Posts: 0
IGS: 4k
Universal go server handle: BlindGroup
Has thanked: 295 times
Been thanked: 64 times

Re:

Post 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.
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post 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 ? :)
Kirby
Honinbo
Posts: 9552
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: File attachment types

Post by Kirby »

gif, jpeg, jpg, png, tga, tif, and tiff are the currently allowed image types
be immersed
BlindGroup
Lives in gote
Posts: 388
Joined: Mon Nov 14, 2016 5:27 pm
GD Posts: 0
IGS: 4k
Universal go server handle: BlindGroup
Has thanked: 295 times
Been thanked: 64 times

Re:

Post 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.
User avatar
ez4u
Oza
Posts: 2414
Joined: Wed Feb 23, 2011 10:15 pm
Rank: Jp 6 dan
GD Posts: 0
KGS: ez4u
Location: Tokyo, Japan
Has thanked: 2351 times
Been thanked: 1332 times

Re: File attachment types

Post by ez4u »

Ed, are you talking about the case of using image tags rather than just "attaching" a png file?
Dave Sigaty
"Short-lived are both the praiser and the praised, and rememberer and the remembered..."
- Marcus Aurelius; Meditations, VIII 21
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post 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 given
Screenshot:
IMG_0295.PNG
IMG_0295.PNG (113.22 KiB) Viewed 214647 times
Tryss
Lives in gote
Posts: 502
Joined: Tue May 24, 2011 1:07 pm
Rank: KGS 2k
GD Posts: 100
KGS: Tryss
Has thanked: 1 time
Been thanked: 153 times

Re: File attachment types

Post by Tryss »

What's the filename extension?
User avatar
EdLee
Honinbo
Posts: 8859
Joined: Sat Apr 24, 2010 6:49 pm
GD Posts: 312
Location: Santa Barbara, CA
Has thanked: 349 times
Been thanked: 2070 times

Post 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:
IMG_0278.JPG
IMG_0278.JPG (149.31 KiB) Viewed 214626 times
Post Reply