EPrints Technical Mailing List Archive

Message: #04774


< 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


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