Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: WinSCP Powershell Module Upload failed run in background Windows Server

WinSCP PowerShell module is a 3rd party package.
Anyway, if you post WinSCP session log file both for working and failing upload, we might be able to help nevertheless.
wilsonwen

WinSCP Powershell Module Upload failed run in background Windows Server

Hi, schedule my PowerShell script with Windows Server Task scheduler, and can successfully upload files to SFTP with no issue. However, when Windows Server goes into Ctrl+Alt+Del lock screen mode after 2 hours, Send-WinSCPItem command failed to execute transfer files. Any idea on how to resolve this issue? Thank you.
Import-Module WinSCP
New-WinSCPSessionOption
Send-WinSCPItem
Get-WinSCPChildItem
Remove-WinSCPSession