Cannot convert argument "sessionOptions"

Advertisement

Dirk_ITL
Joined:
Posts:
1
Location:
South Africa

Cannot convert argument "sessionOptions"

We keep getting the following error when trying to download files from a FTP host with a PS1 script.
I've attached the script(FTP.txt) and I've also tried to use the following script with our credentials: https://winscp.net/eng/docs/script_download_most_recent_file#powershell

Able to login with the WinSCP client and get the files manually.
  • FTP.txt (1.63 KB, Private file)
Description: New-WinSCPSession : Cannot convert argument "sessionOptions", with value: "71319ftp@213.212.75.139", for "Open" to type "WinSCP.SessionOptions": "Cannot convert the "71319ftp@213.212.75.139" value of

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum