Subject: Re: How to delete a remote file?

Re: How to delete a remote file?

From: John-Mark Gurney <>
Date: Mon, 26 Oct 2020 15:45:24 -0700

Michael Loutris wrote this message on Mon, Oct 26, 2020 at 17:28 -0500:
> I have one last task to achieve with libssh2. Is there a way to delete a remote file? I suspect it could be achieved by overwriting the file with zero contents and then renaming it with a null string but is there a cleaner way?
> BTW, libssh2 has been working fantastically and I cannot thank the development team for there insightful questions and rapid replies!

See: libssh2_sftp_unlink

  John-Mark Gurney				Voice: +1 415 225 5579
     "All that I will do, has been done, All that I have, has not."
Received on 2020-10-26