EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02892
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Media upload location
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Media upload location
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Mon, 14 Apr 2014 15:39:22 +0100
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).
Seb
- References:
- [EP-tech] Media upload location
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Media upload location
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Media upload location
- Prev by Date: [EP-tech] Re: Media upload location
- Next by Date: [EP-tech] IRstats2 graphs/data in a MePrints Widget
- Previous by thread: [EP-tech] Re: Media upload location
- Next by thread: [EP-tech] Re: Media upload location
- Index(es):