EPrints Technical Mailing List Archive

Message: #00774


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

[EP-tech] Re: Importing files from another system


run the command with --verbose --verbose and try to see what happen. Can you go to port 80 from the server to another server? Check your firewall settings.

Il 21/06/2012 14:22, John Salter ha scritto:
Hi,
I'm trying to import files from another system, into EPrints.
I can either copy the files onto the server, or make them available over http.

In the XML, I've tried specifying (in an<eprints><eprint>  node)
<document>
	<file href="/path/to/my.pdf" />
</document>
  - or -
<document>
	<file>
		<url>http://url.of/my.pdf</url>
	</file>
</document>

And importing with:
bin/import ARCHIVENAME --enable-file-imports --enable-web-imports --user 1 archive XML test.xml
Both import the metadata from the XML OK, but neither option attaches the file to the eprint.

What am I doing wrong - or will this even work?

Cheers,
John
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/