This page is a wiki. Please login or create an account to begin editing.


9 posts / 0 new
Last post
butterburger's picture
Offline
Joined: 2014 Aug 16
request change site policy: accept gzip.gz filename

Presently, gzip files are not admitted to Macintosh Garden. It seems, not even tar.gz: I tried uploading .tar.gz, resulting error:

For security reasons, your upload has been renamed to
PowerBook_1400_floppy_set_Mac_OS_7.6.tar_.gz.

The selected file PowerBook_1400_floppy_set_Mac_OS_7.6.tar_.gz could not
be uploaded. Only files with the following extensions are allowed: sit
tar.gz tgz dmg hqx bin cdr iso zip sitx img.

I ask you to accept gzip files, .gz filenames.

Comments

Gary's picture
Offline
Joined: 2011 Jul 21

And you want to post this kind of file because ... ???

Gary

butterburger's picture
Offline
Joined: 2014 Aug 16

Because for a single file, large or small, there is little reason to pad into a tarball before gzipping it.

butterburger's picture
Offline
Joined: 2014 Aug 16

This problem was fixed since last occasion when I uploaded. Thank you.

I spoke too soon: server still renames .gz for alleged "security reasons".

MikeTomTom's picture
Online
Joined: 2009 Dec 7

I spoke too soon: server still renames .gz for alleged "security reasons".

No sorry, this is you not understanding the meaning of that message you saw today.

You had uploaded a file named "olympus_master_1.4.2.ustar_.pax.gz" to the MG.

- The site's upload mechanism automatically renames not only .gz but all files with trailing filename suffix endings ".xxx.xxx" to ".xxx__0.xxx" for security reasons. Because files with double or more ".xxx.xxx" endings are potential executable virus carriers - tho' we know our files aren't of course, don't we Wink

Therefore your file was automatically renamed to "olympus_master_1.4.2.ustar_.pax__0.gz" and you received that message informing you of this action.

The reason why once uploaded, the file did not appear in the Download section of the saved page was due to an entirely different matter, that was caused by an oversight on your part, before you saved the page. That is, you had omitted to remove the place holder for the original uploaded 0.0 kb file you had removed, before saving the 2nd time around. This omission has been fixed for you.

Otherwise, there are no longer problems with uploading certain file types such as .gz to the MG.

butterburger's picture
Offline
Joined: 2014 Aug 16

Before "Miss Communication" does her act, I want you to know, I am not trying to argue.

I uploaded a zero-length file to test the water, yes.

Then I attempted to upload 'olympus_master_1.4.2.ustar.pax.gz' (exact name, that). Upload rate was less than 1 Mo/s, so I left room. When I came back, I saw progress bar filled to one hundred percent, so I submitted (form 'Save' button). That HTTP POST seemed to take forever, eventually an error message. Not a css+html full Web page presentation of an error, rather just a plain black-on-white text error. I paid no attention to it, did not copy and save it, did not even read it.

Then I again attempted to upload 'olympus_master_1.4.2.ustar.pax.gz', again rate was less than one Mo/s, so I left room to do other things. When I came back, I see upload complete at one hundred percent with "security reasons" message. I might have rolled my eyes, then POSTed form (Save button). Whaddaya know, no file visible. So I comment here, I comment there, and leave.

Anyway, thank you for your help. I appreciate Macintosh Garden. Greatly.

MikeTomTom's picture
Online
Joined: 2009 Dec 7

I know. It was good that it was an easy fix, too. Cheers.

fogWraith's picture
Offline
Joined: 2009 Oct 23

There seems to be somekind of odd bug in the upload system, I've encountered it myself at some points where you upload the file on the form, scroll all the way down to hit save, only to have it submit the entire file again... it's a bit frustrating and causes double uploads sometimes, though most orphaned files are deleted when the cronjob starts up.

The upload system is on my list of things to go over, and there will be support for file.ext.ext in the near future, time allowing that is.

butterburger's picture
Offline
Joined: 2014 Aug 16

I am so glad to be able to upload gzip files. Some folk might like StuffIt, say "Dealing with StuffIt files is part of the retrocomputing fun!". I profusely disagree. I am not saying "gzipped tarballs is the very best way to archive anything ever", but I would choose it over StuffIt, every time.

So thank you, fogWraith (et al), for allowing gzip files in MG.