EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #00479


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] EPrints::DataObj::Document - add_archive


Hi,

I'm trying to add an archiv tar.gz to an eprint:

my $archive_format = "application/x-gzip";
        $doc = EPrints::DataObj::Document::create( $session, $eprint );
        $doc->add_archive( $full_file_path, $archive_format );
        $doc->commit

but it doesn't works. I tried 
$archive_format "application/x-gtar", ".tar.gz", "tar.gz", "tgz"

How can I add an whole archiv content to an eprint ?

reegards
ulf

-- 
OntoChem GmbH
Heinrich-Damerow-Str. 4
06120 Halle (Saale)
Germany
Tel. +49-345-478047-4
Fax: +49-345-478047-1

HRB 215461 Amtsgericht Stendal; USt-IdNr.: DE246232735