Hi.
I'm trying to register a couple items in DSpace and I'm running into a small problem, I cannot register files with spaces in the name. For example:

I'm trying to register the File "/media/ISO Promo/ISO Promo.flv" and I get the error

java.io.FileNotFoundException: /media/ISO (No such file or directory)

which says to me the 'contents' file does not like having spaces in the filename. To get around this i have tried:

   * Replacing the space ' ' with '\ ' because I am in linux. This
     didn't work and produced the error /media/ISO\ (No such file or
     directory)
   * Surrounding the filename with single and double quotations which
     produced /'/media/ISO\ (No such file or directory) and
     /"/media/ISO\ (No such file or directory) because I have / as an
     asset store (don't worry this is just a test server)
   * Replacing the space with %20 (ie, url encoding) which produced
     /media/ISO%20Promo/ISO%20Promo.flv (No such file or directory

So just a couple of questions:Is there a simple solution to this? Should I submit a bug report? Is this parsed manually by the DSpace source, and if so, where? I have already had to write my own CAS authenticator so I'm familiar enough with DSpace to change some source if I have to, I'd just rather not have to.

Thanks,

Jermaine

This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2011.php
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to