Try this:

INPUT_NORMALIZE_PATHS=true
INPUT_STRIP_PREFIX=D:/test/images/

The first setting should translate the backslashes to slashes. Then stripping 
should work normally.

These settings, and more, are documented at 
http://marklogic.github.io/recordloader/

-- Mike

On 2 May 2013, at 02:09 , Mohanraj Chozhan <[email protected]> wrote:

> Hi,
>  
> I am using recordloader to load files to ML database. The INPUT_PATH is 
> windows path(D:/test/images). When these images get loaded to the database 
> the URI formed is: /abc/D:\test\images\aa.jpeg.
>  
> I want the files to be uploaded with this URI: /abc/aa.jpeg.
>  
> PFB my .properties file:
>  
> CONNECTION_STRING=xcc://testdbo:test@localhost/testdb
> INPUT_PATTERN=.+\\.(PDF|JPG|pdf|jpg|rdf)$
> DOCUMENT_FORMAT=binary
> INPUT_PATH=D:/test/images
> IGNORE_FILE_BASENAME=true
> OUTPUT_COLLECTIONS=
> INPUT_STRIP_PREFIX=
> URI_PREFIX=/abc
>  
> Could you please tell me how I can achieve this?
>  
> Regards,
> Mohanraj
>  
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are 
> not
> to copy, disclose, or distribute this e-mail or its contents to any other 
> person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has 
> taken
> every reasonable precaution to minimize this risk, but is not liable for any 
> damage
> you may sustain as a result of any virus in this e-mail. You should carry out 
> your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this 
> e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to