Exception calling "MoveFile" - Bad message (badly formatted packet or protocol incompatibility)

Advertisement

EliF_Teepee
Joined:
Posts:
3
Location:
Illinois

Exception calling "MoveFile" - Bad message (badly formatted packet or protocol incompatibility)

Regarding the script at:
https://stackoverflow.com/questions/48311614/a-winscp-script-to-download-rename-and-move-files

It was working for a few months (since the Stackoverflow post) but stopped working a couple weeks ago with this error:
Executed as user: NT Service\SQLSERVERAGENT. Connecting...Renaming uploaded file /AGS_backup_from_OurCompany_20180316125821.bak_filepart to /AGS_backup_from_OurCompany_20180316125821.bak
Error: Exception calling "MoveFile" with "2" argument(s): "Error moving file '/AGS_backup_from_OurCompany_20180316125821.bak_filepart' to '/AGS_backup_from_OurCompany_20180316125821.bak'.
Bad message (badly formatted packet or protocol incompatibility). Error code: 5 Error message from server: Bad message". Process Exit Code 1. The step failed.
Did something change? What would cause this error and how can I fix it?

Thank you,
Eli

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,378
Location:
Prague, Czechia

Re: Exception calling "MoveFile" - Bad message (badly formatted packet or protocol incompatibility)

Can you rename that file manually in WinSCP GUI or any other SFTP client?

Reply with quote

Advertisement

You can post new topics in this forum