Batch uploading of pdfs

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 23
Joined: Wed Apr 12, 2006 3:21 pm
Location: UK

Batch uploading of pdfs

Postby Chris_A » Thu Apr 13, 2006 5:54 am


We have a new installation of OJS 2.1 on a remote server. Am I right in thinking that I cannot directly batch upload pdf files from my own PC, even using the command line facility.

So a reference such as this:
<href src=C:\Documents and Settings\John Doe\My Documents\Typesetting\Archive\04 Storage\Equinox\Journals\PT 7.1_January 2006_Finals\Pdf files\test.pdf mime_type="application/pdf"/>

would be invalid.

From what I've read so far, the best approach would seem to be to copy the files to an FTP site and upload from there?

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby asmecher » Thu Apr 13, 2006 10:36 am

Hi Chris,

There are two ways you can construct an href using the import XML. One is a full URL (e.g.; this is always available. The other method is a relative path, such as /local/path/to/pdf/file.pdf; this is only available when using the command-line import/export tool (tools/importexport.php), and refers to paths on the machine OJS is installed on.

Another alternative is to embed base64-encoded data directly in the XML file; see the <embed> tag for details.

Alec Smecher
Open Journal Systems Team

Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest