$sftp->put($local, $remote, copy_perm => 0);