Continue on error while using PowerShell script? "System Error. Code: 32"
Hello,
How can I keep the job running when a file is open while using PowerShell?
would making the change here resolve my issue?
Synchronize Options
https://winscp.net/eng/docs/ui_keepuptodate
and or skip hidden files as this is temp file
Example,
Thanks
How can I keep the job running when a file is open while using PowerShell?
would making the change here resolve my issue?
Synchronize Options
https://winscp.net/eng/docs/ui_keepuptodate
and or skip hidden files as this is temp file
~$Automated.xlsx
Example,
$synchronizationResult = $session.SynchronizeDirectories( [WinSCP.SynchronizationMode]::Remote, "\\toys.com\data","/data/", $False)
System Error. Code: 32.
The process cannot access the file because it is being used by another process
Permissions of kept with their defaults
Timestamp of kept with its default (current time)
Error: Exception calling "Check" with "0" argument(s): "Can't open file '\\toys.com\data\Cases\~$Automated.xlsx'.
System Error. Code: 32.
The process cannot access the file because it is being used by another process