WarcraftReamls.com
  FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups   RegisterRegister 
  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 
Uploading compressed files

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    WarcraftRealms.com Forum Index -> WarcraftRealms Developers
View previous topic :: View next topic  
Author Message
Kosh



Joined: 01 Jul 2007
Posts: 84
Location: Somewhere on or near Earth
WR Updates: 1,210,548
Kosh WR Profile

PostPosted: Tue Dec 09, 2008 11:07 pm    Post subject: Uploading compressed files Reply with quote

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 Smile
Back to top
View user's profile Send private message
Rollie
Site Admin


Joined: 28 Nov 2004
Posts: 5374
Location: Austin, TX
WR Updates: 480,131
Rollie WR Profile

PostPosted: Wed Dec 10, 2008 1:28 am    Post subject: Reply with quote

You know, I could probably put in support for gzip files through the standard upload. I'll take a peek.
Back to top
View user's profile Send private message Visit poster's website
Kosh



Joined: 01 Jul 2007
Posts: 84
Location: Somewhere on or near Earth
WR Updates: 1,210,548
Kosh WR Profile

PostPosted: Wed Dec 10, 2008 10:42 pm    Post subject: Reply with quote

That would be great. Smile

It has been a while since I've done anything with PHP, but let me know if you want any extra help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    WarcraftRealms.com Forum Index -> WarcraftRealms Developers All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
WarcraftRealms.com  


Powered by phpBB © 2001, 2005 phpBB Group