Sftp: "Bad message" (SSH_FX_BAD_MESSAGE)

hello and welcome to the forum,

perhaps this might help
Ssh_fx_bad_message - #5 by ncw