Hi helix84
I found that it was the bitstream.size_bytes field that prevented the
download from opening correctly. I changed my script to update the
database with the correct filesize as well as the md5sum, and it work
perfectly. Thanks for your help.
Kind Regards.
Shaun Donovan
On
You don't have to make it so complicated, DSpace data structures are
very sane as opposed to some other systems. After you replaced the
files in the assetstore, calculate a new MD5 checksum for them and
store it to the bitstream table. Notice that bitstream file name in
asset store is not equal to
Thanks for the (very) fast response helix84.
I actually did look at ItemUpdate. This still requires that you delete
one bitstream and add another. The delete option requires a bitstream
ID, which I have no way of knowing by iterating the filesystem.
Unless the internal_id in the bitstream
On Thu, Nov 1, 2012 at 6:12 PM, Shaun Donovan sha...@teqcle.co.za wrote:
I actually did look at ItemUpdate. This still requires that you delete one
bitstream and add another. The delete option requires a bitstream ID, which
I have no way of knowing by iterating the filesystem.
Unless the
4 matches
Mail list logo