Failed to copy: Put mkParentDir failed: sftp: "Failure" (SSH_FX_FAILURE)

What is the problem you are having with rclone?

It was ok when I tried individual file, but when I tried to create directory remotely and sync files, it shows errors.

What is your rclone version (output from rclone version)

rclone v1.56.0

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 10 Pro 2009 (64bit)

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

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

Paste command here
rclone sync C:\AMI\ami bakUP:/backup/a654/C:/AMI/ami --config=.rclone.conf -vv


#### The rclone config contents with secrets removed.  
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

Paste config here
[bakUP]
type = sftp
host = bakUP server's domain
user = e2
port = 20922
pass = ******************************
asset = a654

A log from the command with the -vv flag

Paste  log here
2021/09/08 17:47:37 ERROR : websocketpp/common/md5.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:37 ERROR : websocketpp/common/memory.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/network.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/platforms.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/random.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/regex.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/stdint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/system_error.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/thread.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/time.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/type_traits.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/http/constants.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/cpp11.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/http/parser.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/chrono.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/asio/base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/http/request.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/asio/connection.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/http/response.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/asio/endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/http/impl/parser.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/asio/security/base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/http/impl/response.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/asio/security/none.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/http/impl/request.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/base/connection.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/asio/security/tls.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/stub/base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/base/endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/stub/endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/stub/connection.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : sftp://e2@bakup.dcsnewyork.com:20922//backup/a654/C:/AMI/ami: not deleting files as there were IO errors
2021/09/08 17:47:38 ERROR : sftp://e2@bakup.dcsnewyork.com:20922//backup/a654/C:/AMI/ami: not deleting directories as there were IO errors
2021/09/08 17:47:38 ERROR : Attempt 2/3 failed with 105 errors and: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 DEBUG : sftp://e2@bakup.dcsnewyork.com:20922//backup/a654/C:/AMI/ami: Waiting for checks to finish
2021/09/08 17:47:38 DEBUG : sftp://e2@bakup.dcsnewyork.com:20922//backup/a654/C:/AMI/ami: Waiting for transfers to finish
2021/09/08 17:47:38 ERROR : AMIServer.php: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/CMakeLists.txt: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : AMIManager.php: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/client.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : ExtensionListAction.php: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/close.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/endpoint_base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/connection.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/connection_base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/server.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/uri.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/frame.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/utilities.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/version.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/utf8_validator.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : Repeater/compile_command.txt: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/error.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : Repeater/repeater: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : Repeater/repeater.cpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : Repeater/repeater.obj: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : Repeater/repeater.exe: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : Repeater/ut: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/impl/connection_impl.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : Repeater/websocket.config: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/impl/endpoint_impl.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : Repeater/makefile: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/logger/basic.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/impl/utilities_impl.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/logger/stub.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/concurrency/basic.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/logger/syslog.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/concurrency/none.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/logger/levels.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/message_buffer/alloc.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/processors/base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/message_buffer/pool.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/processors/hybi00.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/message_buffer/message.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/processors/hybi07.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/processors/processor.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/roles/client_endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/processors/hybi08.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/sha1/sha1.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/random/none.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/roles/server_endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/asio.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/processors/hybi13.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/asio_ssl.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/random/random_device.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/connection_hdl.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/functional.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/md5.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/memory.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/network.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/platforms.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/random.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/regex.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/stdint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/system_error.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/thread.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/time.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/type_traits.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/cpp11.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/debug/base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/common/chrono.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/debug/endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/iostream/base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/debug/connection.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/http/constants.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/iostream/endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/http/parser.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:38 ERROR : websocketpp/transport/iostream/connection.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/http/response.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/http/request.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/http/impl/parser.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/asio/base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/http/impl/response.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/http/impl/request.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/asio/connection.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/extensions/extension.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/asio/security/base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/extensions/permessage_deflate/disabled.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/asio/endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/extensions/permessage_deflate/enabled.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/base/connection.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/asio/security/tls.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/asio.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/base/endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/asio_client.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/asio/security/none.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/asio_no_tls_client.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/boost_config.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/core_client.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/debug.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/debug_asio.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/debug_asio_no_tls.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/minimal_client.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/minimal_server.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/stub/base.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/asio_no_tls.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/stub/connection.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/base64/base64.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/transport/stub/endpoint.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : websocketpp/config/core.hpp: Failed to copy: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 ERROR : sftp://e2@bakup.dcsnewyork.com:20922//backup/a654/C:/AMI/ami: not deleting files as there were IO errors
2021/09/08 17:47:39 ERROR : sftp://e2@bakup.dcsnewyork.com:20922//backup/a654/C:/AMI/ami: not deleting directories as there were IO errors
2021/09/08 17:47:39 ERROR : Attempt 3/3 failed with 105 errors and: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)
2021/09/08 17:47:39 INFO  :
Transferred:              0 / 0 Byte, -, 0 Byte/s, ETA -
Errors:               105 (retrying may help)
Elapsed time:         3.7s

2021/09/08 17:47:39 DEBUG : 39 go routines active
2021/09/08 17:47:39 Failed to sync with 105 errors: last error was: Put mkParentDir failed: mkdir "/backup/a654/C:/AMI" failed: sftp: "Failure" (SSH_FX_FAILURE)

hello and welcome to the forum,

with sftp, there is a difference between bakUP:/backup and bakUP:backup
notice the first path has a / and the second path does not have a /

bakUP:/backup implies that backup is a folder of the root folder
bakUP:backup implies that backup is a folder of the home folder

  • for the command that has the errors, post the top 20 lines of the debug log.
  • for the command where you copy a single file successfully, can you post the entire debug log.

So it is having problems making the directory. This can be a path problem or a permissions problem. So has your user got permissions to write to that directory?

This means use the directory called /backup/a654/C:/AMI/ami to copy stuff to.

There are two things to check about this. Is this directory definitely in the root / or is it in the user's home directory? If it is in the home directory you should use bakUP:backup/a654/C:/AMI/ami this with no /.

The other thing is that this also has a directory called C:. This will work fine on unix servers but not in Windows servers.

Thanks for your reply!

I'll check the server and permission again.

And I used option -vv to catch the rclone's ERROR, but it retrieves all DEBUG messages too.
Is there any other option to catch only ERROR, not with DEBUG messages?

hi,
that is documented at https://rclone.org/docs/#log-level-level
--log-level=ERROR or -q

and if the output is getting large, you can use a log file
https://rclone.org/docs/#log-file-file

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