Error with sftp remote mkdir

What is the problem you are having with rclone?

Errors while cloning from http to sftp remote. After some hours I get errors related to mkdir in the sftp remote. It copied fine several hours and more than 200k files but then the errors started. Resuming results in same errors.

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

rclone v1.59.2

  • os/version: debian 10.10 (64 bit)
  • os/kernel: 4.19.0-17-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.18.6
  • go/linking: static
  • go/tags: none

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

sftp (another debian system, version 11, running ssh/sftp)

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

rclone -P --transfers=12 sync deb:xxx backup:/home/mirror/deb/xxx

The rclone config contents with secrets removed.

type = http
url =

type = sftp
host =
user = mirror
port = 22
pass = verysecret
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum

A log from the command with the -vv flag

2022-10-13 11:05:24 ERROR : yyy/pool/main/y/folder/file_amd64.deb: Failed to copy: Put mkParentDir failed: mkdir "/home/mirror/deb/xxx/yyy/pool/main/n/folder" failed: sftp: "Failure" (SSH_FX_FAILURE)

Stupid me! The destination folder was mounted in a small partition and out of space!

Sorry for the noise.

1 Like

I wish the SFTP error messages were a bit more informative! Unfortunately that is all the protocol gives us :frowning:

Glad you figured it out.

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