Skip to content
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

FileSystemException: Could not determine the size of file .. #3

Closed
vharvala opened this issue Nov 16, 2016 · 1 comment
Closed

FileSystemException: Could not determine the size of file .. #3

vharvala opened this issue Nov 16, 2016 · 1 comment

Comments

@vharvala
Copy link
Contributor

In sftp transfer vfs-mediator is trying to get a size of a file to verify the transfer was success but this happens:

at org.apache.commons.vfs2.provider.DefaultFileContent.getSize(DefaultFileContent.java:147)
at fi.mystes.synapse.mediator.vfs.VfsFileTransferUtility.copyFile(VfsFileTransferUtility.java:148)
at fi.mystes.synapse.mediator.vfs.VfsFileTransferUtility.doOperation(VfsFileTransferUtility.java:224)
at fi.mystes.synapse.mediator.vfs.VfsFileTransferUtility.copyFiles(VfsFileTransferUtility.java:67)
at fi.mystes.synapse.mediator.vfs.DefaultVfsOperationDelegate.copy(DefaultVfsOperationDelegate.java:35)
at fi.mystes.synapse.mediator.vfs.VfsCopy.executeImpl(VfsCopy.java:35)
at fi.mystes.synapse.mediator.vfs.AbstractVfsOperation.execute(AbstractVfsOperation.java:116)
at fi.mystes.synapse.mediator.VfsMediator.mediate(VfsMediator.java:88)

@vharvala
Copy link
Contributor Author

All filesystems don't support getting size so we cannot use that function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant