Hi!
Uploading a directory recursively fails if it doesn't exist on the remote site: sftp> put -r nonexistent\ directory/ Uploading nonexistent directory/ to /tmp/nonexistent directory Couldn't canonicalise: No such file or directory sftp> mkdir nonexistent\ directory/ sftp> put -r nonexistent\ directory/ ^^^ success It should create the directory first, and then copy the content, no? This is on -current: $ ssh -V OpenSSH_5.8, OpenSSL 1.0.0a 1 Jun 2010 Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D 650C C69B BE4C 83B6 3A8F