Hi all 

I use currently Camel version 2.18.2 and Camel JCIFS version 2.15.0 for
accessing Samba shares. 

The current implementation failes due a missing implementation in class
org.apacheextras.camel.component.jcifs.SmbConsumer: 

    @Override 
    protected void updateFileHeaders(final GenericFile<SmbFile> file, final
Message message) { 
        final long length = file.getFileLength(); 
        final long modified = file.getLastModified(); 
        file.setFileLength(length); 
        file.setLastModified(modified); 
        if (length >= 0) 
            message.setHeader(Exchange.FILE_LENGTH, length); 
        if (modified >= 0) 
            message.setHeader(Exchange.FILE_LAST_MODIFIED, modified); 
    } 


Additionally the rename function does not work when the file already exists
in the target folder. Could you implement property 'renameUsingCopy' in the
same way as it is available on file2.

Is there a new version planned which solves this issue? 

regards
René




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-JCIFS-issues-detected-tp5794146.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to