in reply to Net::SFTP atomic updates?

Are you speaking of replacing the file on your local machine or the remote? If it's local, use File::Copy.