shikhar/sshj — pull request #43 by voberoi (2011-11-17 22:43:26+00:00)
Title: Allowing SFTPFileTransfer clients to disable the setting of remote file attributes

Hey Shikhar,

This patch addresses issue #42. I just noticed, however, that one could get around this problem by using SFTPClient directly.

It does seem odd to have SFTPFileTransfer module force the attribute setting, but I suspect that some users now expect sshj to work that way. Rather than remove it entirely, I allow clients to toggle it and kept the default behavior the current behavior.

Feel free to ignore this patch entirely, since it's possible to do this using SFTPClient. If you don't, it certainly would useful to document that upload() sends an additional request post-file upload.