Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Delete Symbolic Link

$
0
0

Another thought,

As far as deleting directories,

You need to use DeleteDirectory method since Delete can delete only files, this is due to SFTP specification

As far as why it can give you an error here possible explanations from specification:

An error will be returned if no directory
   with the specified path exists, or if the specified directory is not
   empty, or if the path specified a file system object other than a
   directory.

So I suspect because this is link and not directory object it fail. So it seems to me it should always fail then.


Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>