Use original filename when downloading a file

Project:RUcore API's
Version:7.0
Component:Get API
Category:feature request
Priority:normal
Assigned:chadmills
Status:closed
Description

If available in the object XML use the original file name instead of a generated file name based on the object ID and datastream ID.

Comments

#1

Status:active» test

Added to the Get API. If a filename is found in the ALT_IDS attribute for the datastreamVersion with the namespace 'fname:' that information is used. Otherwise a generic file is created based on the Fedora ID, datastream ID and the file extension configured by the WMS file policy rules. An example of the generic filename would be:

rutgers-lib-26648-PDF-1.pdf

#2

Project:RUcore/NJDH/Partner Portal Search» RUcore API's
Version:7.0» 7.0
Component:Searching - Service Agent» Get API

If you need a sneak peek the development Get API can be accessed here:

<a href="http://rep-test.libraries.rutgers.edu/rucore/api/get.dev/" title="http://rep-test.libraries.rutgers.edu/rucore/api/get.dev/">http://rep-test.libraries.rutgers.edu/rucore/api/get.dev/</a>

#3

Status:test» fixed

Confirmed via testing newly ingested resources.

#4

Status:fixed» closed

Back to top