Broken .zip files

Posted:
11 May 2007 at 16:57

I’d like to stress the fact that you may not use a lot of the ASCII characters in filenames of the .zip files you upload. I don’t have a complete list (for one I know that apostrophes will break the upload, but that’s about it), but it’s most safe that you resort to using only letters and numbers. Keeping the filename short is also recommended.

Examples:
BAD: Jim’s Battle Pack.zip
GOOD: jimbtlpack.zip

Broken uploads, shall they still be made, will get removed instantly and we’ll contact the author about that.

- cooba


Comments

Crono on 12 May 2007 at 03:29

So how about doing something productive like disallowing illegal characters?

FQuist on 12 May 2007 at 15:01

That’s a pretty interesting idea. ;-)

SPAZ18 on 12 May 2007 at 16:40

What about files that are uploaded as .RAR or any other format? Is there any way to disallow these?

FQuist on 12 May 2007 at 16:51

.rar files are already disallowed… but perhaps there is some way (but I’m not experienced with the libs we’re using) to automatically discover when uploads are non-extractable and reject them.

EvilMike on 12 May 2007 at 18:57

why force people to upload extractable archives? .j2l and .j2t are both highly compressed formats. Zipping them only results in a few % compression. It seems like if someone wanted to upload just 1 level or 1 tileset, it would be a lot easier to forget about the whole .zip thing.

Bobby aka Dizzy on 13 May 2007 at 07:12

I don’t know if it would be necessary to change it … has anyone actually ever had a problem zipping a file?

FQuist on 13 May 2007 at 14:33

New people might, and there are definitely people that mess up on uploading to J2O by, say, renaming their .j2l extension to a .zip.

EvilMike on 14 May 2007 at 01:48

Basically it’s easy to make a zip file, but it’s even easier not to. I just find that zipping a single, already compressed file is redundant and shouldn’t be necessary even if it’s not a lot of work. Of course, it makes sense that you would want to include stuff like tilesets and readme files. But if someone wants to upload just 1 file, it’s a bit different.

Grytolle on 13 Jul 2007 at 11:19

Maybe a function for auto-zipping when uploading!

Post a comment

You need to log in to post comments on this newspost.