Hi Claudia Thanks for the advice.
I had the wrong entry in the dspace.url parameter in dspace.cfg i.e. I had http://vleinternal.bromley.ac.uk/dspace instead of http://vleinternal.bromley.ac.uk/jspui The exports now work fine :) Clive On Thu, May 7, 2009 at 5:19 PM, Claudia Juergen <[email protected]> wrote: > Hi Clive, > > check your setting dspace.url in dspace.cfg and your permission rights on > the export directories. > > Claudia > >> Hi Claudia >> >> Thanks for the prompt reply. >> >> I need to change the URL because the link does not work. >> >> Best wishes >> >> Clive >> >> >> 2009/5/7 Claudia Jürgen <[email protected]>: >>> Hi Clive, >>> >>> the export directory settings in dspace.cfg are irrelevant for the >>> retrieval >>> URL. There is no direct access via URL to the directories mentioned in >>> the >>> dspace.cfg. >>> >>> The retrieval URL is build in org.dspace.app.itemexport >>> emailSuccessMessage >>> see: email.addArgument(ConfigurationManager.getProperty("dspace.url") + >>> "/exportdownload/" + fileName); >>> >>> The parts in your example are: >>> dspace.url in dspace.cfg = http://vleinternal.bromley.ac.uk/dspace >>> /exportdownload/ >>> fileName = item_export_2009_May_07_2_4.zip >>> >>> Now for example in jspui the web.xml determines what is done with the >>> URL >>> http://vleinternal.bromley.ac.uk/dspace/exportdownload/* >>> see web.xml: >>> <servlet-mapping> >>> <servlet-name>exportdownload</servlet-name> >>> <url-pattern>/exportdownload/*</url-pattern> >>> </servlet-mapping> >>> >>> <servlet> >>> <servlet-name>exportdownload</servlet-name> >>> <servlet-class>org.dspace.app.webui.servlet.ItemExportArchiveServlet</servlet-class> >>> </servlet> >>> >>> In the end the ItemExportArchiveServlet handles the Export. >>> >>> Why do you want to change the URL created, does yours not work? >>> >>> Hope that helps >>> >>> Claudia Jürgen >>> >>> >>> >>> >>> clive gould schrieb: >>>> >>>> Hi >>>> >>>> I've got the following parameters in dspace.cfg >>>> >>>> ### Item export and download settings ### >>>> # The directory where the exports will be done and compressed >>>> org.dspace.app.itemexport.work.dir = ${dspace.dir}/exports >>>> >>>> # The directory where the compressed files will reside and be read by >>>> the downloader >>>> org.dspace.app.itemexport.download.dir = ${dspace.dir}/exports/download >>>> >>>> >>>> When an item is exported the zip file is stored in >>>> /home/dspace/exports/download/4 >>>> >>>> However the download URL in the email received points to the wrong >>>> location: i.e. >>>> >>>> You may download the compressed file using the following link: >>>> >>>> http://vleinternal.bromley.ac.uk/dspace/exportdownload/item_export_2009_May_07_2_4.zip >>>> >>>> How do I change the link in the email to point to the correct location? >>>> >>>> Thanks very much >>>> >>>> Clive >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! >>>> Your >>>> production scanning environment may not be a perfect world - but thanks >>>> to >>>> Kodak, there's a perfect scanner to get the job done! With the NEW >>>> KODAK >>>> i700 >>>> Series Scanner you'll get full speed at 300 dpi even with all image >>>> processing features enabled. http://p.sf.net/sfu/kodak-com >>>> _______________________________________________ >>>> DSpace-tech mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech >>> >> > > > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

