Regarding the script at:
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?