Good Morning Geoffrey 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?
Thanks, Martin Gainty ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content 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. > > You may want trying to provide a hint of the attached file size by > writing it this way: > > <param name="contentDisposition">attachment; filename=setup.exe; > size=43665667</param> > > > 2008/9/5, Geffrey Caruso <[EMAIL PROTECTED]>: > > I actually figured it out, I had to remove the contentLength parameter from > > the results XML. > > > > After I did that it started working fine on Linux. > > > > -----Original Message----- > > From: Gabriel Belingueres [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 05, 2008 10:15 AM > > To: Struts Users Mailing List > > 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 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 corrupt once downloaded. > > > > > > > > > > > > <result name=" Trial_90" type="stream"> > > > > > > <param > > > name="contentType">application/octet-stream</param> > > > > > > <param name="contentLength">43665667</param> > > > > > > <param name="inputName">inputStream</param> > > > > > > <param name="contentDisposition">attachment; > > > filename= setup.exe</param> > > > > > > <param name="bufferSize">2048</param> > > > > > > > > > </result> > > > > > > > > > > > > I can FTP directly to the Linux machine and download the same file and it > > > works fine so I know there is nothing wrong with the file it must be > > somehow > > > getting corrupted during the streaming process. > > > > > > > > > > > > Has anyone had this problem and if so how did you fix it? > > > > > > > > > > > > Geffrey Caruso > > > > > > Senior Software Engineer > > > > > > MobilVox, Inc > > > > > > http://www.mobilvox.com > > > > > > ( (724) 349-3339 x320 > > > > > > > > > > --------------------------------------------------------------------- > > 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] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008