Uploading compressed files

Questions and discussions on development tools for WarcraftRealms
Locked
Kosh
Census Taker
Posts: 84
Joined: Sun Jul 01, 2007 2:59 am
Location: Somewhere on or near Earth

Uploading compressed files

Post by Kosh »

I hit the "too big" error again on a census upload. Since last time this happened, I eventually determined that the solution I was directed to was a Windows executable, and even if I was running Windows, I would be leery of running another executable in conjunction with WoW, I just pruned my results.

Well, this time, I decided to try uploading a GZip-compressed copy of my CencusPlus.lua file, but the "normal" upload script (upload.php) gave an error after upload, so it apparently doesn't support compressed files (at least using gzip). The script that supports the programmatic submissions does not appear to support interactive use, either, so I ended up pruning my results again to move forward.

What I am wondering if if the interactive upload script does support any types of compression. For reference, what I tried submitting was the result of "gzip > CensusPlus.lua.gz < CensusPlus.lua" (so, normal compression and standard naming).

If that's not supported, then are there any samples of cross-platform scripts to submit files vie the non-interactive method (i.e., PHP, Perl, etc.)? If nothing else, I can find time to dust off my PHP skills & craft my own, if the interface to "uniupload.php" is documented somewhere.

Thanks in advance :)

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

You know, I could probably put in support for gzip files through the standard upload. I'll take a peek.
phpbb:phpinfo()

Kosh
Census Taker
Posts: 84
Joined: Sun Jul 01, 2007 2:59 am
Location: Somewhere on or near Earth

Post by Kosh »

That would be great. :)

It has been a while since I've done anything with PHP, but let me know if you want any extra help.

Locked