-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMB File archive is not working #8
Comments
Hello @vrr6, haven't thougt about this repo for along time. I will try to take a look at it at the weekend. Maybe you give this one https://github.com/jborza/camel-smbj at try as well. |
Hi Thomas, I tried above code base getting diskShare.remoteCopyto & Reading the share as input stream also thrown the same above Exception. Thanks, |
Hi Thomas, Thanks, |
Hi Thomas, I saw in https://issues.apache.org/jira/browse/CAMEL-12563 that you wished to add this component part of camel extras. thanks, |
Open a PR and I will take a look |
I got this error using camel-smbj on windows 10. I solved the problem by replacing the relative path in move option with the absolute path (from the shared folder)
relative path &move=processed should be replaced by &move=/directory/processed and this poins to //server/shared/directory/processed |
Hi Thomas,
I have tried a sample POC with below route, in Archive( Move Operation) the files are getting trucated to 0 bytes.
File is reaching destination but Arcive is getting 0 bytes file.
SMBOperations renamefile operation is writing to 0 bytes.
from("smb://test_user@host/test/input/?localWorkDirectory=tmp&recursive=false&download=true&charset=utf-8&versions=2_1&fileExist=Move&moveExisting=.exists&delay=100&move=Archive/$simple{date:now:yyyy-MM-dd}/$simple{header.CamelFileNameOnly}&moveFailed=.failed&password=password")
.to("file://src/main/data");
Thanks,
R Ramarajan.
The text was updated successfully, but these errors were encountered: