EPrints Technical Mailing List Archive

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

Message: #04776


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

[EP-tech] Re: enable-web-imports


You need to use the --enable-file-import flag on the import script.
--
Adam Field
Business Relationship Manager and Community Lead
EPrints Services
+44 (0)23 8059 8814





On 24 Sep 2015, at 16:24, Edwin Gamez wrote:

> Hi..!
> I have the same problem, when i try import XML  show this:
> 
> Starting EPrints Repository.
> Connecting to DB ... done.
> Failed to retrieve Test.pdf: 403 Access denied by configuration: file imports disabled
> Failed to create subdataobj on document.files at eprints/bin/../perl_lib/EPrints/DataSet.pm line 1009
> Failed to create subdataobj on archive.documents at eprints/bin/../perl_lib/EPrints/DataSet.pm line 1009
> Ending EPrints Repository.
> 
> this is my file: 
> 
> <file>
>             <datasetid>document</datasetid>
>             <filename>Test.pdf</filename>
>             <url>Test.pdf</url>
>           </file>
> <file>
> 
> How can we enable import file?
> 
> Thanks
> 
> 
> 2015-09-24 11:16 GMT-04:00 cmdt-news@cmdt.ch <cmdt-news@cmdt.ch>:
> sorry, local import should be looking:
> 
> <files>
> <file>
> <filename>CSA_02efl.pdf</filename>
> <mime_type>application/pdf</mime_type>
> <url>/tmp/21352.pdf</url>
> </file>
> </files>
> 
> thanks
> 
> *** 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/
> *** EPrints developers Forum: http://forum.eprints.org/
> 
> *** 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/
> *** EPrints developers Forum: http://forum.eprints.org/