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

New Post: Delete Symbolic Link

$
0
0

Hi!

I updated to the lastest source code and still get the problem.

The first time I call sftp.Delete("linkToFile"); it deletes the file linked to the link.
The second time I call sftp.Delete("linkToFile"); in order to delete the link, I receive a No Such File message. (also tried with DeleteFile and DeleteDirectory).

Concerning link to directories, I get a failure when calling: sftp.Delete("linkToDir"); but I suppose this is because I should remove the dir myself ?


Viewing all articles
Browse latest Browse all 1729

Trending Articles



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