Re: [struts] Stream Windows Executable From Linux Machine

2008-09-08 Thread Gabriel Belingueres
Thanks Dale! I actually just sniffed my connection and Tomcat is adding the Content-Length by itself when attachment. On the other hand, is not adding the Content-Length when content disposition is inline. 2008/9/8 Dale Newfield <[EMAIL PROTECTED]>: > Gabriel Belingueres wrote: >> >> I wonder if a

Re: [struts] Stream Windows Executable From Linux Machine

2008-09-08 Thread Dave Newton
--- On Mon, 9/8/08, Dale Newfield wrote: > If you do not specify the content length in the stream > result, your stream will be requested twice (each request > is required to provide an independent stream -- a frequent > source of bugs for people that don't realize it), one of > which will be re

Re: [struts] Stream Windows Executable From Linux Machine

2008-09-08 Thread Dale Newfield
Gabriel Belingueres wrote: I wonder if all that MIME descriptive data in the HTTP response is part of the "message body", and if that's the case, I suppose it is better always NOT specify any content length at all in the stream result. If you do not specify the content length in the stream resu

Re: Stream Windows Executable From Linux Machine

2008-09-08 Thread Gabriel Belingueres
I was actually intrigued by the fact that the content length in the stream result is actually setting the content-length HTTP header [1], which from the HTTP doc it represents the "message body length", but I'm not sure that the message body length is EXACTLY the same as the attached file size. I

RE: Stream Windows Executable From Linux Machine

2008-09-06 Thread Dave Newton
--- On Sat, 9/6/08, Martin Gainty wrote: > Interested to know how you can make a windows binary work > on linux is this a shared object that has been dos-compiled? > Do you have an alias setup to associate .exe to shell to a > mono environment? If I understood the original poster correctly the bin

RE: Stream Windows Executable From Linux Machine

2008-09-06 Thread Martin Gainty
contained within this transmission. > Date: Fri, 5 Sep 2008 13:52:31 -0300 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: Stream Windows Executable From Linux Machine > > Interesting. > Never used myself the contentLength parameter before. >

Re: Stream Windows Executable From Linux Machine

2008-09-05 Thread Gabriel Belingueres
ist > Subject: Re: Stream Windows Executable From Linux Machine > > filename= setup.exe > is there an space there? (try removing it) > > what you mean by corrupt? > > 2008/9/5, Geffrey Caruso <[EMAIL PROTECTED]>: > > Quick question for anyone who's tried this bef

RE: Stream Windows Executable From Linux Machine

2008-09-05 Thread Geffrey Caruso
Subject: Re: Stream Windows Executable From Linux Machine filename= setup.exe is there an space there? (try removing it) what you mean by corrupt? 2008/9/5, Geffrey Caruso <[EMAIL PROTECTED]>: > Quick question for anyone who's tried this before. > > > > I've got a w

Re: Stream Windows Executable From Linux Machine

2008-09-05 Thread Gabriel Belingueres
filename= setup.exe is there an space there? (try removing it) what you mean by corrupt? 2008/9/5, Geffrey Caruso <[EMAIL PROTECTED]>: > Quick question for anyone who's tried this before. > > > > I've got a windows executable created using NSIS from a wrapped jar file. > > > > I've got the follow

Stream Windows Executable From Linux Machine

2008-09-05 Thread Geffrey Caruso
Quick question for anyone who's tried this before. I've got a windows executable created using NSIS from a wrapped jar file. I've got the following Stream Result for use in downloading it. When it's on a windows machine it works fine, but when I transfer everything to Linux the file is