ha, cool On 7/21/07, Simon P. Ditner <[EMAIL PROTECTED]> wrote:
It seems that apache2 was triggering it. I commented out 'AddEncoding x-gzip gz tgz' from my apache2.conf, and that seems to be enough for it to arrive still compressed. On Sat, 21 Jul 2007, Alex Egg wrote: > Could apache be doing it?? > > On 7/21/07, Simon P. Ditner <[EMAIL PROTECTED]> wrote: > > > > I have a simple build file downloading a few .tar.gz files from my web > > server running a stock Apache2 from Ubuntu 6.06, using Ant 1.7.0. > > > > One command in my build.xml is: > > > > <get src="http://myserver/project1/file1.tar.gz" dest="src/file1.tar.gz" > > /> > > > > And then I have a second command that is nearly identical: > > > > <get src="http://myserver/project2/file2.tar.gz" dest="src/file2.tar.gz" > > /> > > > > Both file1 and file2 are tar.gz files, which I've confirmed from the > > server side, as well as by downloading them using wget. The only real > > difference is that file1 is 50kb, whereas file2 is 15mb. > > > > For some bizzare reason, file2 ends up being decompressed on-the-fly, and > > written as a 50mb tar file to src/file2.tar.gz > > > > That's very nifty -- but entirely unexpected and undesired. Is there some > > way to turn this off? > > > > Cheers, > > spd > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]