It is a feature to me. I can't think of an easy way to work around it otherwise.
Using a temporary file like this seems common. In fact dput used to do this, which is why I consider it a regression. Similar advice here: https://stackoverflow.com/questions/25119076/how- to-do-an-atomic-sftp-file-transfer-using-jsch-so-that-the-file-is-not- acces -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762572 Title: regression: sftp method no longer uses temporary file name during upload To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dput/+bug/1762572/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
