We just got notified that we need to update our process to upload the files to new modernized SFTP server: https://support.everbridge.com/s/article/57157
We updated our script to use the new SFTP server address, we then started getting error message similar to this:
We were told we need to disable the resume/transfer settings so we updated code to this:Error: Exception calling Check with 0 argument(s): Transfer was successfully finished, but temporary transfer file Everbridge.csv.filepart could not be renamed to target file name Everbridge.csv. If the problem persists, you may try to turn off transfer resume support.
Error code: 3
Error message from server (US-ASCII): Access denied
$transferOptions = New-Object WinSCP.TransferOptions $transferOptions.ResumeSupport.State = [WinSCP.TransferResumeSupportState]::Off $transferOptions.TransferMode = [WinSCP.TransferMode]::Binary
Any idea why this error message is being thrown or better yet, how do we disable resume/transfer setting so that our file gets uploaded without any error.Error: Exception calling "Open" with "1" argument(s): "Method not found: 'Void System.Threading.EventWaitHandle..ctor(Boolean, System.Threading.EventResetMode, System.String, Boolean ByRef, System.Security.AccessControl.EventWaitHandleSecurity)'."