Verifying Checksum - Operation Not Supported
Hello! I just switched to WinSCP after seeing this post in your documentation about verifying checksums. But I'm having a problem with it. :(
When I run the custom command, it gets to the "# Calculate remote file checksum" stage, and then returns an error "Operation not supported."
As far as I can tell, I've got everything setup right - is there anything I need to change on the server to make this compatible? Or is there an easy way to swap out the server command to run "sha1sum TARGET" on the shell and return that result?
Thanks for any assistance you can offer!
Additional information:
The server is Ubuntu 14.04, and I'm connected via SFTP. The user in the sessionUrl has full shell access.
I'm using the latest version of both WinSCP and the WinSCP .NET assembly. I've got the script in the same folder as the assembly, I've unblocked the files, and I've edited the script with my session URL. And I've got it in my custom commands of course.
When I run the custom command, it gets to the "# Calculate remote file checksum" stage, and then returns an error "Operation not supported."
As far as I can tell, I've got everything setup right - is there anything I need to change on the server to make this compatible? Or is there an easy way to swap out the server command to run "sha1sum TARGET" on the shell and return that result?
Thanks for any assistance you can offer!
Additional information:
The server is Ubuntu 14.04, and I'm connected via SFTP. The user in the sessionUrl has full shell access.
I'm using the latest version of both WinSCP and the WinSCP .NET assembly. I've got the script in the same folder as the assembly, I've unblocked the files, and I've edited the script with my session URL. And I've got it in my custom commands of course.