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

Are you using SFTP in FileZilla?
And what about WinSCP GUI?
EliF_Teepee

Yes, I can manually rename it via FileZilla.
What's weird is that it just stopped renaming all of a sudden. Please see screenshot, below.
martin

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?
EliF_Teepee

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