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]