Backup error - sftp - put

Using: Duplicati - 2.0.4.20_canary_2019-06-25

I often get errors when doing backup to sftp.

Nothing informative:
Error while running Drive_D

Remote:
Jun 29, 2019 10:03 PM: put duplicati-bd7dd4a45aa2b41e489d56129a8403183.dblock.zip.aes

I also found the following error in server log:

{“ClassName”:“System.AggregateException”,“Message”:“Egy vagy több hiba történt.”,“Data”:null,“InnerException”:{“ClassName”:“System.AggregateException”,“Message”:“Nem található a következő fájl: „C:\Users\klor\AppData\Local\Temp\dup-4713c85a-e4aa-4eec-912b-15a3a8736249”.”,“Data”:null,“InnerException”:{“ClassName”:“System.IO.FileNotFoundException”,“Message”:“Nem található a következő fájl: „C:\Users\klor\AppData\Local\Temp\dup-4713c85a-e4aa-4eec-912b-15a3a8736249”.”,“Data”:null,“InnerException”:null,“HelpURL”:null,“StackTraceString”:" a következő helyen: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n a következő helyen: System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n a következő helyen: System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.SpillCollectorProcess.<>c__DisplayClass0_0.<b__0>d.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: CoCoL.AutomationExtensions.d__101.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.BackupHandler.<RunMainOperation>d__12.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nWinIOError\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.IO.__Error\nVoid WinIOError(Int32, System.String)","HResult":-2147024894,"Source":"mscorlib","WatsonBuckets":null,"FileNotFound_FileName":"C:\\Users\\klor\\AppData\\Local\\Temp\\dup-4713c85a-e4aa-4eec-912b-15a3a8736249","FileNotFound_FusionLog":null},"HelpURL":null,"StackTraceString":" a következő helyen: Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__19.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nMoveNext\nDuplicati.Library.Main, Version=2.0.4.20, Culture=neutral, PublicKeyToken=null\nDuplicati.Library.Main.Operation.BackupHandler+<RunAsync>d__19\nVoid MoveNext()","HResult":-2146233088,"Source":"Duplicati.Library.Main","WatsonBuckets":null,"InnerExceptions":[{"ClassName":"System.IO.FileNotFoundException","Message":"Nem található a következő fájl: „C:\\Users\\klor\\AppData\\Local\\Temp\\dup-4713c85a-e4aa-4eec-912b-15a3a8736249”.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" a következő helyen: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n a következő helyen: System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)\r\n a következő helyen: System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.SpillCollectorProcess.<>c__DisplayClass0_0.<<Run>b__0>d.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: CoCoL.AutomationExtensions.<RunTask>d__101.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.BackupHandler.d__12.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.BackupHandler.d__19.MoveNext()",“RemoteStackTraceString”:null,“RemoteStackIndex”:0,“ExceptionMethod”:“8\nWinIOError\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.IO.__Error\nVoid WinIOError(Int32, System.String)”,“HResult”:-2147024894,“Source”:“mscorlib”,“WatsonBuckets”:null,“FileNotFound_FileName”:“C:\Users\klor\AppData\Local\Temp\dup-4713c85a-e4aa-4eec-912b-15a3a8736249”,“FileNotFound_FusionLog”:null},{“ClassName”:“System.AggregateException”,“Message”:“Egy vagy több hiba történt.”,“Data”:null,“InnerException”:{“ClassName”:“System.AggregateException”,“Message”:“Egy vagy több hiba történt.”,“Data”:null,“InnerException”:{“ClassName”:“Renci.SshNet.Common.SftpPermissionDeniedException”,“Message”:“Permission denied”,“Data”:null,“InnerException”:null,“HelpURL”:null,“StackTraceString”:" a következő helyen: Renci.SshNet.Sftp.SftpSession.RequestOpen(String path, Flags flags, Boolean nullOnError)\r\n a következő helyen: Renci.SshNet.SftpClient.InternalUploadFile(Stream input, String path, Flags flags, SftpUploadAsyncResult asyncResult, Action1 uploadCallback)\r\n a következő helyen: Duplicati.Library.Backend.SSHv2.PutAsync(String remotename, Stream stream, CancellationToken cancelToken)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoPut>d__21.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<>c__DisplayClass17_0.<<UploadFileAsync>b__0>d.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoWithRetry>d__18.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoWithRetry>d__18.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<UploadFileAsync>d__17.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<UploadVolumeWriter>d__16.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<<Run>b__13_0>d.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nRequestOpen\nRenci.SshNet, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106\nRenci.SshNet.Sftp.SftpSession\nByte[] RequestOpen(System.String, Renci.SshNet.Sftp.Flags, Boolean)","HResult":-2146233088,"Source":"Renci.SshNet","WatsonBuckets":null},"HelpURL":null,"StackTraceString":" a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<<Run>b__13_0>d.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<<Run>b__13_0>d.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: CoCoL.AutomationExtensions.<RunTask>d__101.MoveNext()",“RemoteStackTraceString”:null,“RemoteStackIndex”:0,“ExceptionMethod”:“8\nMoveNext\nDuplicati.Library.Main, Version=2.0.4.20, Culture=neutral, PublicKeyToken=null\nDuplicati.Library.Main.Operation.Backup.BackendUploader+<b__13_0>d\nVoid MoveNext()”,“HResult”:-2146233088,“Source”:“Duplicati.Library.Main”,“WatsonBuckets”:null,“InnerExceptions”:[{“ClassName”:“Renci.SshNet.Common.SftpPermissionDeniedException”,“Message”:“Permission denied”,“Data”:null,“InnerException”:null,“HelpURL”:null,“StackTraceString”:" a következő helyen: Renci.SshNet.Sftp.SftpSession.RequestOpen(String path, Flags flags, Boolean nullOnError)\r\n a következő helyen: Renci.SshNet.SftpClient.InternalUploadFile(Stream input, String path, Flags flags, SftpUploadAsyncResult asyncResult, Action1 uploadCallback)\r\n a következő helyen: Duplicati.Library.Backend.SSHv2.PutAsync(String remotename, Stream stream, CancellationToken cancelToken)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoPut>d__21.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<>c__DisplayClass17_0.<<UploadFileAsync>b__0>d.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoWithRetry>d__18.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoWithRetry>d__18.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<UploadFileAsync>d__17.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<UploadVolumeWriter>d__16.MoveNext()\r\n--- Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve ---\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<<Run>b__13_0>d.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nRequestOpen\nRenci.SshNet, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106\nRenci.SshNet.Sftp.SftpSession\nByte[] RequestOpen(System.String, Renci.SshNet.Sftp.Flags, Boolean)","HResult":-2146233088,"Source":"Renci.SshNet","WatsonBuckets":null},{"ClassName":"Renci.SshNet.Common.SftpPermissionDeniedException","Message":"Permission denied","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" a következő helyen: Renci.SshNet.Sftp.SftpSession.RequestOpen(String path, Flags flags, Boolean nullOnError)\r\n a következő helyen: Renci.SshNet.SftpClient.InternalUploadFile(Stream input, String path, Flags flags, SftpUploadAsyncResult asyncResult, Action1 uploadCallback)\r\n a következő helyen: Duplicati.Library.Backend.SSHv2.PutAsync(String remotename, Stream stream, CancellationToken cancelToken)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.d__21.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<>c__DisplayClass17_0.<b__0>d.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.d__18.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.d__18.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.d__17.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.d__16.MoveNext()",“RemoteStackTraceString”:null,“RemoteStackIndex”:0,“ExceptionMethod”:“8\nRequestOpen\nRenci.SshNet, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106\nRenci.SshNet.Sftp.SftpSession\nByte RequestOpen(System.String, Renci.SshNet.Sftp.Flags, Boolean)”,“HResult”:-2146233088,“Source”:“Renci.SshNet”,“WatsonBuckets”:null}]},“HelpURL”:null,“StackTraceString”:null,“RemoteStackTraceString”:null,“RemoteStackIndex”:0,“ExceptionMethod”:null,“HResult”:-2146233088,“Source”:null,“WatsonBuckets”:null,“InnerExceptions”:[{“ClassName”:“System.AggregateException”,“Message”:“Egy vagy több hiba történt.”,“Data”:null,“InnerException”:{“ClassName”:“Renci.SshNet.Common.SftpPermissionDeniedException”,“Message”:“Permission denied”,“Data”:null,“InnerException”:null,“HelpURL”:null,“StackTraceString”:" a következő helyen: Renci.SshNet.Sftp.SftpSession.RequestOpen(String path, Flags flags, Boolean nullOnError)\r\n a következő helyen: Renci.SshNet.SftpClient.InternalUploadFile(Stream input, String path, Flags flags, SftpUploadAsyncResult asyncResult, Action`1 uploadCallback)\r\n a következő helyen: Duplicati.Library.Backend.SSHv2.PutAsync(String remotename, Stream stream, CancellationToken cancelToken)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.d__21.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.<>c__DisplayClass17_0.<b__0>d.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.d__18.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.d__18.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.d__17.MoveNext()\r\n— Verem vége nyomkövetés a kivétel előző előfordulási helyétől kezdve —\r\n a következő helyen: System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n a következő helyen: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n a következő helyen: Duplicati.Library.Main.Operation.Backup.BackendUploader.d__16.MoveNext()\r\n—

Why this happens?

Hard to say, especially with a rather messy single-line error posting. –log-file can get more readable lines. Posting from it with three tildes (~~~) above and below should help the forum software display it readably.

The live log displays oldest-at-bottom, and stack traces do too, so starting at the bottom the first oddity is BackendUploader intending to “put” a file onto the remote, going into SshNet library which got (translated):

{"ClassName": "Renci.SshNet.Common.SftpPermissionDeniedException", "Message": "Permission denied", "Data": null, "InnerException": null, "HelpURL": null, "StackTraceString": "next : 
Renci.SshNet.Sftp.SftpSession.RequestOpen (String path, Flags flags, Boolean nullOnError) to 
Renci.SshNet.SftpClient.InternalUploadFile (Stream input, String path, Flags flags, SftpUploadAsyncResult asyncResult, Action`1 uploadCallback) to 
Duplicati.Library.Backend.SSHv2.PutAsync (String remotename, Stream stream, CancellationToken cancelToken)

RequestOpen code indicates it’s doing an SSH_FXP_OPEN request which tries to create the remote file.

Later on (higher) there is a complaint about what might be a secondary problem, unless it’s the primary…

System.IO.FileNotFoundException , C:\Users\klor\AppData\Local\Temp\dup-4713c85a-e4aa-4eec-912b-15a3a8736249

Duplicati queues temporary files to be uploaded. This might be one, but that error message is kind of odd.

Your next step might be to see if your sftp server does any logging, and see why it denied you permission.

Could be possible to set the path to the temporary directory?
I think the temp drive space is filling up.

Is it possible that there is such bug, that Duplicati doesn’t check the free space before starting the next 50 Mb slice?

–asynchronous-upload-folder if you just want that change. Maybe –tempdir or TMPDIR for general change.

If you mean does Duplicati check before it writes, I doubt it does, but I also doubt that most programs do…