Re: Error with powershell and xml settings file for WINSCP Protocol setting
PowerShell won't convert string"[WinSCP.Protocol]::ftp"
to enumeration value[WinSCP.Protocol]::Ftp
. But it will convert simple"ftp"
.
Hi Martin, how simple, that worked thank you! Now to get it working with sftp.
But now I have the same problem with the tlshostcertificatefingerprint, this time even when I hardcode the string powershell rejects it with the same error message: Error: The value supplied is not valid, or the property is read-only. Change the value, and then try again.
Any help very gratefully recieved
Adam
All fixed now I was using #tlshostcertificatefingerprint instead of SshHostKeyFingerprint in the session options
All fixed - Thanks for reading
Adam