SFTP Put Command
I have a couple of questions on using the SFTP
put command with the .NET assembly:
- I found a page at https://tecadmin.net/transferring-files-over-ssh/ which indicates the syntax looks like this:
Does the .NET assembly support this syntax for SFTP? I ask because the example was forscp -r /path/to/local/directory username@remote_host:/path/to/remote/directory
scp, not SFTP.
- If the
putcommand fails because the remote directory doesn’t exist, will the .NET assembly detect that & automatically create the remote directory? If not, how will the client know that the failure was due to a non-existent directory (so we can create it ourselves)?