title: How can I upload an entire folder, that contains other folders, using sftp on linux?
body: <p>I have tried <code>put -r directory/*</code>, which only uploaded the files and not folders. Gave me the error, cannot <code>Couldn't canonicalise</code>. </p>
  
  <p>Any help would be greatly appreciated.</p>