I'm not sure where but the problem appears to be in my code somewhere i think.
I managed to get the rename to work by using sftpClient.rename rather than File.MoveTo.
Literally just commented out File.MoveTo and replaced it with SFTPClient.Rename. Seems odd to me but i can't manage to reproduce anywhere else.
Thanks for the project. Has been very simple and stable to work with!
I managed to get the rename to work by using sftpClient.rename rather than File.MoveTo.
Literally just commented out File.MoveTo and replaced it with SFTPClient.Rename. Seems odd to me but i can't manage to reproduce anywhere else.
Thanks for the project. Has been very simple and stable to work with!