[Opensource] File downloads
Michael Rimov
rimovm at centercomp.com
Sat Oct 18 21:47:17 PDT 2003
At 02:12 AM 10/17/2003, you wrote:
>May be slightly OT, but maybe someone can give me some pointers...
>I'm migrating from Expresso 5.0 to 5.3 (using RC5 at present). When testing
>my file downloads from one site I hit a problem which seems to be IE6
>specific (works on NS 7.1 and Opera). I click on the link to download the
>file (these are held in my Sybase ASE12 database) and click the 'Open'
>button on the resulting dialog. The appropriate application opens, but
>complains that it can't find the file. It seems to be looking in subfolder
>'Content.IE5\[random characters]\filename(1).doc' within my Internet temp
>files folder. I can't see this folder anywhere (but a Google search seems
>to suggest that this is nothing unusual!).
>The strange thing is that another site I've converted to 5.3RC5 (running on
>the same server) doesn't have this problem. I still have a server running
>the Expresso 5.0 version of the app and this works with IE6. I use Sybase
>EAServer 4.2.2 for testing and production, but I've also tested both the
>version 5.0 and 5.3 based apps in Tomcat 4.1.27 with IE6 and get the same
>result - the 5.0 app works and the 5.3 one doesn't! If I choose to save the
>file to disk this works OK, and I can then open it.
Malc,
Definitely Off topic! I've been fighting this one too. I originally
thought it was a patch to IE that messed things up, since this appeared so
suddenly... about the time I updated to Acrobat 6. In fact, if you want
something REALLY weird, do download. The redirect link won't work, but the
"click here if download does not commence" works great. I have confirmed
that this is VERY IE related, and Mac Safari browser works well too.
I'm glad to hear that 5.0 works though because that gives me something to
work with. While playing with it, I found out that reading in the whole
file and outputting it in one out.write() call helped, but 5.0 never even
tried anything like that.
I checked and the header setting code is _identical_ between 5.0 and
5.3. The JSP pages are identical too. Perhaps there's something going on
at the controller level that I need to check [or possibly a side-affect
interaction with Struts]
I'll keep looking through it.
-Mike
More information about the Opensource
mailing list