Thanks
with servlet it woks much better :)
Regards
Maciek
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/pr
Maciej Tylczyñski wrote:
> Hello
>
> I use the scriplet shown below for downloading files.
> When it's text file all is seems to be ok, but zip file is always corrupted.
> I changed contentType ( response.setContentType("application/zip"); ) but it
> didin't help.
>
There are two basic i
lt;[EMAIL PROTECTED]>
Sent: Thursday, October 05, 2000 4:05 AM
Subject: problem with file download
> Hello
>
> I use the scriplet shown below for downloading files.
> When it's text file all is seems to be ok, but zip file is always
corrupted.
> I changed contentType
length.
like
response.setContentLength((int)fileLen + 2);
I hope this will work.
Tx
Goli.
-Original Message-
From: Maciej Tylczynski [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 05, 2000 7:05 AM
To: [EMAIL PROTECTED]
Subject: problem with file download
Hello
I use the
Hello
I use the scriplet shown below for downloading files.
When it's text file all is seems to be ok, but zip file is always corrupted.
I changed contentType ( response.setContentType("application/zip"); ) but it
didin't help.
What is wrong ? Can anybody help ?
Maciek
<%
Strin