Couldn't delete: sftp: "Bad message" (SSH_FX_BAD_MESSAGE)

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

In rclone logs getting this message Couldn't delete: sftp: "Bad message" (SSH_FX_BAD_MESSAGE).
I'm transferring files from one SFTP to another SFTP server.

Run the command 'rclone version' and share the full output of the command.

I'm using Rclone's move command : /rclone/sync/move

rclone v1.64.2

Which cloud storage system are you using? (eg Google Drive)

SFTP

The command you were trying to run (eg rclone copy /tmp remote:tmp)

/rclone/sync/move

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

Not using CLI, using GUI, not sure how to get this.

A log from the command that you were trying to run with the -vv flag

rc: "core/stats": with parameters map[]
2024/06/10 11:51:39 DEBUG : rc: "core/stats": reply map[bytes:23518021636 checks:12646 deletedDirs:0 deletes:5153 elapsedTime:188452.177423772 errors:388 eta:0 fatalError:false lastError:Move Rename failed: permission denied renames:5339 retryError:true serverSideCopies:0 serverSideCopyBytes:0 serverSideMoveBytes:0 serverSideMoves:0 speed:1.7429616432342287e+07 totalBytes:23518021636 totalChecks:12646 totalTransfers:10024 transferTime:2860.377859267 transfers:10024]: <nil>
2024/06/10 11:51:39 DEBUG : HC1019533_en_US_b2b_PSS.xml: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC1019533_en_US_b2b_PSS.xml: Unchanged skipping
2024/06/10 11:51:39 DEBUG : HC1072650_en_US_b2b_PSS.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC1072650_en_US_b2b_PSS.pdf: Unchanged skipping
2024/06/10 11:51:39 DEBUG : HC1019533_en_US_b2b_PSS.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC1019533_en_US_b2b_PSS.pdf: Unchanged skipping
2024/06/10 11:51:39 DEBUG : sftp://aDAMHT101@20.23/data/leaflet/: Waiting for checks to finish
2024/06/10 11:51:39 DEBUG : HC1072650_en_US_b2b_PSS.xml: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC1072650_en_US_b2b_PSS.xml: Unchanged skipping
2024/06/10 11:51:39 DEBUG : HC23001A_en_US_b2b_PSS.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC23001A_en_US_b2b_PSS.pdf: Unchanged skipping
2024/06/10 11:51:39 DEBUG : HC23001A_en_US_b2b_PSS.xml: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC23001A_en_US_b2b_PSS.xml: Unchanged skipping
2024/06/10 11:51:39 DEBUG : HC312153_en_US_b2b_PSS.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC312153_en_US_b2b_PSS.pdf: Unchanged skipping
2024/06/10 11:51:39 DEBUG : HC312153_en_US_b2b_PSS.xml: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC312153_en_US_b2b_PSS.xml: Unchanged skipping
2024/06/10 11:51:39 ERROR : HC1019533_en_US_b2b_PSS.xml: Couldn't delete: sftp: "Bad message" (SSH_FX_BAD_MESSAGE)
2024/06/10 11:51:39 DEBUG : HC8-208507-00_en_US_b2b_PSS.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC8-208507-00_en_US_b2b_PSS.pdf: Unchanged skipping
2024/06/10 11:51:39 ERROR : HC8-208507-00_en_US_b2b_PSS.pdf: Couldn't delete: sftp: "Bad message" (SSH_FX_BAD_MESSAGE)
2024/06/10 11:51:39 DEBUG : HC8-208507-00_en_US_b2b_PSS.xml: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC8-208507-00_en_US_b2b_PSS.xml: Unchanged skipping
2024/06/10 11:51:39 ERROR : HC8-208507-00_en_US_b2b_PSS.xml: Couldn't delete: sftp: "Bad message" (SSH_FX_BAD_MESSAGE)
2024/06/10 11:51:39 DEBUG : HC989803136891_en_US_b2b_PSS.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC989803136891_en_US_b2b_PSS.pdf: Unchanged skipping
2024/06/10 11:51:39 ERROR : HC989803136891_en_US_b2b_PSS.pdf: Couldn't delete: sftp: "Bad message" (SSH_FX_BAD_MESSAGE)
2024/06/10 11:51:39 DEBUG : HC989803136891_en_US_b2b_PSS.xml: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC989803136891_en_US_b2b_PSS.xml: Unchanged skipping
2024/06/10 11:51:39 ERROR : HC989803136891_en_US_b2b_PSS.xml: Couldn't delete: sftp: "Bad message" (SSH_FX_BAD_MESSAGE)
2024/06/10 11:51:39 DEBUG : HC989803146911_en_US_b2b_PSS.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC989803146911_en_US_b2b_PSS.pdf: Unchanged skipping
2024/06/10 11:51:39 DEBUG : sftp://sftpuser@10.64/Data/CCR/Leaflets/Files_to_PAL/: New connection 10.64.34.84:58184->10.64.49.244:22 to "SSH-2.0-OpenSSH_for_Windows_7.7"
2024/06/10 11:51:39 ERROR : HC989803146911_en_US_b2b_PSS.pdf: Couldn't delete: sftp: "Bad message" (SSH_FX_BAD_MESSAGE)
2024/06/10 11:51:39 DEBUG : HC989803146911_en_US_b2b_PSS.xml: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC989803146911_en_US_b2b_PSS.xml: Unchanged skipping
2024/06/10 11:51:39 ERROR : HC989803146911_en_US_b2b_PSS.xml: Couldn't delete: sftp: "Bad message" (SSH_FX_BAD_MESSAGE)
2024/06/10 11:51:39 DEBUG : HC989803157501_en_US_b2b_PSS.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC989803157501_en_US_b2b_PSS.pdf: Unchanged skipping
2024/06/10 11:51:39 DEBUG : sftp://sftpuser@10.64/Data/CCR/Leaflets/Files_to_PAL/: New connection 10.64.34.84:58194->10.64.49.244:22 to "SSH-2.0-OpenSSH_for_Windows_7.7"
2024/06/10 11:51:39 ERROR : HC989803157501_en_US_b2b_PSS.pdf: Couldn't delete: sftp: "Bad message" (SSH_FX_BAD_MESSAGE)
2024/06/10 11:51:39 DEBUG : HC989803157501_en_US_b2b_PSS.xml: Size and modification time the same (differ by 0s, within tolerance 1s)
2024/06/10 11:51:39 DEBUG : HC989803157501_en_US_b2b_PSS.xml: Unchanged skipping

failed: permission denied
looks like rclone tried to delete, but lack user lacked permissions.

can update and test again.

run rclone config redacted on command line

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.