problem to download all files of collection...

147 views
Skip to first unread message

Bimal Chandra Sharma

unread,
Aug 5, 2020, 2:00:58 AM8/5/20
to resour...@googlegroups.com
Hi, 

I have been facing a problem with resourcesapce . I have several collections in my system. I am unable to download all files at a time. I have to download several times to do download entire files of a collection. 


Bimal Chandra Sharma
Kathmandu, Nepal.

Mike Perry

unread,
Aug 5, 2020, 11:24:35 AM8/5/20
to ResourceSpace
Do you get any error messages?
Have you checked the RS logs or server logs for any clues as to what is happening?

Bimal Chandra Sharma

unread,
Aug 6, 2020, 8:55:05 AM8/6/20
to resour...@googlegroups.com
Dear Mike

Actually I did not get any error message. I downloaded in zip file and when I extract it then show an error. I tried to win zip  , Win RAR also but all applications show the same error. 

Bimal Chandra Sharma
Kathmandu, Nepal.

--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/resourcespace/ee96d3f3-2fbc-4f5f-b1d9-2916a471cdd6n%40googlegroups.com.

Mike Perry

unread,
Aug 6, 2020, 9:27:27 AM8/6/20
to ResourceSpace
What is the error?

Bimal Chandra Sharma

unread,
Aug 6, 2020, 9:40:30 AM8/6/20
to resour...@googlegroups.com
I downloaded resources form  this link https://insecresources.org.np/?c=4916&k=444cfd2a18
It had 340 resources.


Bimal Chandra Sharma
Kathmandu, Nepal.

Mike Perry

unread,
Aug 6, 2020, 10:14:25 AM8/6/20
to ResourceSpace
What does your error message say?

Mike Perry

unread,
Aug 6, 2020, 10:49:39 AM8/6/20
to ResourceSpace
So the .tar file is corrupt. Have you tried downloading as a .zip file?

Dan Huby

unread,
Aug 6, 2020, 11:23:01 AM8/6/20
to ResourceSpace
This usually happens when a file you've edited, normally include/config.php, contains a BOM header and this then makes it through into the TAR or ZIP file rendering it invalid. Make sure you set the BOM header option in your editor.

Bimal Chandra Sharma

unread,
Aug 6, 2020, 12:34:58 PM8/6/20
to resour...@googlegroups.com
How to chhose Zip instead of TAR?

Bimal Chandra Sharma
Kathmandu, Nepal.

Mike Perry

unread,
Aug 6, 2020, 2:25:55 PM8/6/20
to ResourceSpace
First things first --

Check Dan Huby's suggestion, which would eliminate the BOM header issue.

I believe are offered a download option - standard archive download, or TAR format. Standard gives you a .zip file.

Stephen S

unread,
Jan 4, 2021, 7:13:07 AM1/4/21
to ResourceSpace
I have the same problem with tar archives always being corrupt. I searched for all files with a BOM header and removed those (mostly in the /lib folder) that had it. Still have the problem, all tar downloads are corrupt. Zip works fine. If I can't get tar archives to work, can I at least disable this option or not make it the default?

Stephen S

unread,
Jan 4, 2021, 7:15:45 AM1/4/21
to ResourceSpace
found the option to disable tar:

$collection_download_tar_size = 0;

Reply all
Reply to author
Forward
0 new messages