[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] EPrints::DataObj::Document - add_archive
- Subject: [EP-tech] EPrints::DataObj::Document - add_archive
- From: ulf.laube at ontochem.com (Ulf Laube)
- Date: Thu, 3 May 2012 11:27:40 +0200
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