Re: Using Powershell to change sftp site passwords
You have to supply the password each time I want to connect with WINSCP.
Maybe, if you show us your script,. it will have it easier for us to understand, what you want.
My bad...
I got ahead of myself. I do exactly what I asked in another of my Powershell scripts:
$sessionOptions = New-Object WinSCP.SessionOptions -Property @{
Protocol = $fptProtocoliSeries
HostName = $ftpAddressiSeries
UserName = $ftpUseriSeries
Password = $ftpPassiSeries
SshHostKeyFingerprint = $ftpKeyiSeries
}
Never mind (long and hard day)...