Hi,

I have two related questions:

(1) Is there a programmatically way (in Java) to register (not copy) a
bitstream on local disk? The only way I see is using itemupdate from the
command line.

(2) I want to add a bitstream to the database (inbox for large files). I do
this by exporting the item using "dspace export", adding the bitstream to
the mets-folder and updating the "contents" file and reimporting the item
using "dspace itemupdate -A". The import part runs fast, but the export
part may be long based on the size of bitstreams of the item. To fasten the
process, I want to create an empty metsfile with the dublin_core.xml file,
a "contents" file containing the new content name and the bitstream itself.
How can I get the dublin_core.xml file without "dspace export"? Something
as wget http://server/xmlui/handle/XXX/Y/dublin_core.xml would be fine...

Thanks,
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to