problem Downloading a Zip file resource corruption

536 views
Skip to first unread message

Tech1

unread,
May 20, 2008, 8:59:34 AM5/20/08
to ResourceSpace, danh...@gmail.com
We are experiencing a problem with Zip file resource that we have
uploaded. When attempting to download the resource Zip file the size
indicates it at 72mb but it downloads only 166byte file. when
attempting to open the downloaded zip file it obviously states that it
is corrupted. Any ideas?

John Hunt

unread,
May 23, 2008, 10:43:53 AM5/23/08
to ResourceSpace
I have a similar problem downloading large (400MB) quicktime files -
the file is on the server (fedora 8) running Resourcespace 1.4 (not
1.4.1) and the download is very rapid, but with a zero size file as a
result.
I have opened up the PHP limits in the php.ini file and am spending
some time looking around the other files in the system trying to find
another file size limit on the download.
Does anyone know of anything that could be a limiting factor here?
Thanks,
John Hunt.

Dan Huby

unread,
May 24, 2008, 8:50:07 AM5/24/08
to ResourceSpace
Possibly the memory limit is being exceeded. Try increasing this value
to see if it solves the problem.

Dan

John Hunt

unread,
May 27, 2008, 6:02:48 AM5/27/08
to ResourceSpace
Dan,

I have an old version (1.3) running on the same machine (different
database) which downloads this file with no problems.

Sorry,

John.

Dan Huby

unread,
May 28, 2008, 12:47:58 PM5/28/08
to ResourceSpace
1.3 worked differently and didn't route downloads through
'download.php'

edgar

unread,
May 30, 2008, 12:08:35 PM5/30/08
to ResourceSpace
we are having the same issue (version 1.3, I believe) - I looked in /
var/www/filestore, and the files are all there (and appear to be their
proper sizes).

but when attempting to download, we get the same empty zip files. to
the best of my knowledge, we've increased all upload maximums to 999
MB, so i don't believe upload size is an issue.

any clues/help are greatly appreciated - thank you!!!

krisbfunk

unread,
Jul 6, 2008, 4:01:18 PM7/6/08
to ResourceSpace
same problem here, get a file download prompt after uploading a 64MB
zip but it's an empty zip file called 1.zip

php limits are all to spec, file appears to upload correctly but hangs
on creating thumbnail.



On May 30, 1:08 pm, edgar <Joe.Blazcow...@gmail.com> wrote:
> we are having the same issue (version 1.3, I believe) - I looked in /
> var/www/filestore, and the files are all there (and appear to be their
> proper sizes).
>
> but when attempting to download, we get the same emptyzipfiles. to

cdrennon

unread,
Jul 6, 2008, 7:41:05 PM7/6/08
to ResourceSpace
Solved this on my installation!

I was also getting this error in a v1.4 installation. Any zip download
would be 276 bytes and empty. The problem in my case was the document
root specified in apache. My RS installation is in my home folder, and
the zip files it creates are in the root tmp folder. I didn't get this
error on a test install in the var/www directory, so I changed the
server doc root to var/www and created a symbolic link to the RS
installation. Nothing is changed from the frontend, all addresses and
links are the same, and now the zip d/l is working.
Reply all
Reply to author
Forward
0 new messages