Skip to content

Conversation

hierynomus
Copy link
Owner

@dkocher Could you verify whether CyberDuck relies on the following behaviour and what your preference would be...

Currently when an SFTP copy operation starts, we do a check to see whether the source is a directory, and whether the given destination is a directory of the same name. In that case we copy the contents of the source into the destination. If the names however do not match, we upload the source directory itself into the destination (creating a subdir).

I know we've worked around this in Overthere already (see: https://github.com/xebialabs/overthere/blob/master/src/main/java/com/xebialabs/overthere/ssh/SshSftpFile.java#L143), as the other protocols behave differently. So I was wondering whether we should remove this check, or maybe make it configurable to always upload the contents of the source to the destination.

@dkocher
Copy link
Contributor

dkocher commented Jul 4, 2016

@hierynomus We do not depend on SFTPFileTransfer in Cyberduck therefore I have no strong opinion on this.

@hierynomus hierynomus added this to the 0.17.0 milestone Jul 5, 2016
@hierynomus hierynomus merged commit 1ab72b7 into master Jul 5, 2016
@hierynomus hierynomus deleted the issue-252 branch July 5, 2016 11:14
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

Successfully merging this pull request may close these issues.

2 participants