[EP-tech] Re: Media upload location

Sebastien Francois sf2 at ecs.soton.ac.uk
Mon Apr 14 15:39:22 BST 2014

On 14/04/14 15:39, Ian Stuart wrote:
> On 14/04/14 15:10, Andrew Beeken wrote:
>> Hello all!
>> Hopefully a quick one this time – where does EPrints upload media to? I’m trying to see if a file exists…
> ... as in files associated with a deposit?
> <EPrints>/archives/<ARCHIVE
> ID>/documents/disk0/<[00-99]>/<[00-99]>/<[00-99]/<[00-99]>/<document_number>/<filename>
> Where the 00-99 bits just count up as you add more records in...

Just to clarify: the 00-99 bits are a form of encoding of the EPrint ID 
the documents/files belong to :-)

They are tied to a DB record/primary key (hence one needs to 
know-what-they-re-doing (c)) so are considered part of the relational 
model. One cannot create them by hand or shouldn't, rather.

So Andrew, if you know the EPrint ID, you can find the path easily on 
disk (that's probably more efficient than grepping).


More information about the Eprints-tech mailing list