liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 256 forks source link

Deleting local files does not propagate to the remote #1012

Open stefanpandele opened 1 year ago

stefanpandele commented 1 year ago

Do you read the FAQ?

Describe the bug A clear and concise description of what the bug is.

my config is the following: { "name": "dockware", "host": "localhost", "protocol": "sftp", "port": 22, "username": "dockware", "password": "dockware", "remotePath": "/var/www/html", "uploadOnSave": true, "useTempFile": false, "openSsh": false, "syncMode": "full", "syncOption": { "delete": true }, "ignore": [ ".vscode", ".DS_Store" ] }

If I create a file inside my project folder and then save it, the file it uploaded to the remote. If I delete it from my project folder, the file still exists on the remote. When I delete it, no logging for this action. If I rename an existing file within the project folder, add some text and save the file, will create a new file on the remote with the new name. If I Sync Local -> Remote, the file is deleted from the remote.

Expected behavior When I delete any file from the project folder, I want it to be deleted from the remote, too.

Desktop (please complete the following information):

Extension Logs from Startup - required [12-10 15:43:37] [debug] register command "Cancel All Transfer" from "./commandCancelAllTransfer.ts" [12-10 15:43:37] [debug] register command "Config" from "./commandConfig.ts" [12-10 15:43:37] [debug] register command "List Active Folder" from "./commandListActiveFolder.ts" [12-10 15:43:37] [debug] register command "Open Ssh Connection" from "./commandOpenSshConnection.ts" [12-10 15:43:37] [debug] register command "Set Profile" from "./commandSetProfile.ts" [12-10 15:43:37] [debug] register command "Toggle Output Panel" from "./commandToggleOutputPanel.ts" [12-10 15:43:37] [debug] register command "Upload Changed Files" from "./commandUploadChangedFiles.ts" [12-10 15:43:37] [debug] register command "Create File" from "./fileCommandCreateFile.ts" [12-10 15:43:37] [debug] register command "Create Folder" from "./fileCommandCreateFolder.ts" [12-10 15:43:37] [debug] register command "Delete Remote" from "./fileCommandDeleteRemote.ts" [12-10 15:43:37] [debug] register command "Diff" from "./fileCommandDiff.ts" [12-10 15:43:37] [debug] register command "Diff Active File" from "./fileCommandDiffActiveFile.ts" [12-10 15:43:37] [debug] register command "Download" from "./fileCommandDownload.ts" [12-10 15:43:37] [debug] register command "Download Active File" from "./fileCommandDownloadActiveFile.ts" [12-10 15:43:37] [debug] register command "Download Active Folder" from "./fileCommandDownloadActiveFolder.ts" [12-10 15:43:37] [debug] register command "Download File" from "./fileCommandDownloadFile.ts" [12-10 15:43:37] [debug] register command "Download Folder" from "./fileCommandDownloadFolder.ts" [12-10 15:43:37] [debug] register command "Download Force" from "./fileCommandDownloadForce.ts" [12-10 15:43:37] [debug] register command "Download Project" from "./fileCommandDownloadProject.ts" [12-10 15:43:37] [debug] register command "Edit In Local" from "./fileCommandEditInLocal.ts" [12-10 15:43:37] [debug] register command "List" from "./fileCommandList.ts" [12-10 15:43:37] [debug] register command "List All" from "./fileCommandListAll.ts" [12-10 15:43:37] [debug] register command "Reveal In Explorer" from "./fileCommandRevealInExplorer.ts" [12-10 15:43:37] [debug] register command "Reveal In Remote Explorer" from "./fileCommandRevealInRemoteExplorer.ts" [12-10 15:43:37] [debug] register command "Sync Both Directions" from "./fileCommandSyncBothDirections.ts" [12-10 15:43:37] [debug] register command "Sync Local To Remote" from "./fileCommandSyncLocalToRemote.ts" [12-10 15:43:37] [debug] register command "Sync Remote To Local" from "./fileCommandSyncRemoteToLocal.ts" [12-10 15:43:37] [debug] register command "Upload" from "./fileCommandUpload.ts" [12-10 15:43:37] [debug] register command "Upload Active File" from "./fileCommandUploadActiveFile.ts" [12-10 15:43:37] [debug] register command "Upload Active Folder" from "./fileCommandUploadActiveFolder.ts" [12-10 15:43:37] [debug] register command "Upload File" from "./fileCommandUploadFile.ts" [12-10 15:43:37] [debug] register command "Upload Folder" from "./fileCommandUploadFolder.ts" [12-10 15:43:37] [debug] register command "Upload Force" from "./fileCommandUploadForce.ts" [12-10 15:43:37] [debug] register command "Upload Project" from "./fileCommandUploadProject.ts" [12-10 15:43:37] [info] config at /Users/stefanpandele/coding/sw6 {"remotePath":"/var/www/html","uploadOnSave":true,"useTempFile":false,"openSsh":false,"downloadOnOpen":false,"ignore":[".vscode",".DS_Store"],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"remoteTimeOffsetInHours":0,"remoteExplorer":{"order":0},"name":"dockware","host":"localhost","port":22,"username":"**","password":"**","syncMode":"full","syncOption":{"delete":true}} [12-10 15:43:54] [info] [file-save] /Users/stefanpandele/coding/sw6/custom/test 4 [12-10 15:43:54] [trace] handle upload file for /Users/stefanpandele/coding/sw6/custom/test 4 [12-10 15:43:54] [debug] Custom crypto binding not available [12-10 15:43:54] [debug] Local ident: 'SSH-2.0-ssh2js1.11.0' [12-10 15:43:54] [debug] Client: Trying localhost on port 22 ... [12-10 15:43:54] [debug] Socket connected [12-10 15:43:54] [debug] Remote ident: 'SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.7' [12-10 15:43:54] [debug] Outbound: Sending KEXINIT [12-10 15:43:54] [debug] Inbound: Handshake in progress [12-10 15:43:54] [debug] Handshake: (local) KEX method: curve25519-sha256@libssh.org,curve25519-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha256,diffie-hellman-group15-sha512,diffie-hellman-group16-sha512,diffie-hellman-group17-sha512,diffie-hellman-group18-sha512 [12-10 15:43:54] [debug] Handshake: (remote) KEX method: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1 [12-10 15:43:54] [debug] Handshake: KEX algorithm: curve25519-sha256@libssh.org [12-10 15:43:54] [debug] Handshake: (local) Host key format: ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa [12-10 15:43:54] [debug] Handshake: (remote) Host key format: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 [12-10 15:43:54] [debug] Handshake: Host key format: ssh-ed25519 [12-10 15:43:54] [debug] Handshake: (local) C->S cipher: aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr [12-10 15:43:54] [debug] Handshake: (remote) C->S cipher: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [12-10 15:43:54] [debug] Handshake: C->S Cipher: aes128-gcm@openssh.com [12-10 15:43:54] [debug] Handshake: (local) S->C cipher: aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr [12-10 15:43:54] [debug] Handshake: (remote) S->C cipher: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [12-10 15:43:54] [debug] Handshake: S->C cipher: aes128-gcm@openssh.com [12-10 15:43:54] [debug] Handshake: (local) C->S MAC: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [12-10 15:43:54] [debug] Handshake: (remote) C->S MAC: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [12-10 15:43:54] [debug] Handshake: C->S MAC: [12-10 15:43:54] [debug] Handshake: (local) S->C MAC: hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [12-10 15:43:54] [debug] Handshake: (remote) S->C MAC: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [12-10 15:43:54] [debug] Handshake: S->C MAC: [12-10 15:43:54] [debug] Handshake: (local) C->S compression: none,zlib@openssh.com,zlib [12-10 15:43:54] [debug] Handshake: (remote) C->S compression: none,zlib@openssh.com [12-10 15:43:54] [debug] Handshake: C->S compression: none [12-10 15:43:54] [debug] Handshake: (local) S->C compression: none,zlib@openssh.com,zlib [12-10 15:43:54] [debug] Handshake: (remote) S->C compression: none,zlib@openssh.com [12-10 15:43:54] [debug] Handshake: S->C compression: none [12-10 15:43:54] [debug] Outbound: Sending KEXECDH_INIT [12-10 15:43:54] [debug] Received DH Reply [12-10 15:43:54] [debug] Host accepted by default (no verification) [12-10 15:43:54] [debug] Host accepted (verified) [12-10 15:43:54] [debug] Outbound: Sending NEWKEYS [12-10 15:43:54] [debug] Inbound: NEWKEYS [12-10 15:43:54] [debug] Verifying signature ... [12-10 15:43:54] [debug] Verified signature [12-10 15:43:54] [debug] Handshake completed [12-10 15:43:54] [debug] Outbound: Sending SERVICE_REQUEST (ssh-userauth) [12-10 15:43:54] [debug] Inbound: Received SERVICE_ACCEPT (ssh-userauth) [12-10 15:43:54] [debug] Outbound: Sending USERAUTH_REQUEST (none) [12-10 15:43:54] [debug] Inbound: Received USERAUTH_FAILURE (publickey,password) [12-10 15:43:54] [debug] Client: none auth failed [12-10 15:43:54] [debug] Outbound: Sending USERAUTH_REQUEST (password) [12-10 15:43:54] [debug] Inbound: Received USERAUTH_SUCCESS [12-10 15:43:54] [debug] Outbound: Sending CHANNEL_OPEN (r:0, session) [12-10 15:43:54] [debug] Inbound: GLOBAL_REQUEST (hostkeys-00@openssh.com) [12-10 15:43:54] [debug] Outbound: Sending GLOBAL_REQUEST (hostkeys-prove-00@openssh.com) [12-10 15:43:54] [debug] Inbound: CHANNEL_OPEN_CONFIRMATION (r:0, s:0) [12-10 15:43:54] [debug] Outbound: Sending CHANNEL_REQUEST (r:0, subsystem: sftp) [12-10 15:43:54] [debug] Inbound: REQUEST_SUCCESS [12-10 15:43:54] [debug] Inbound: CHANNEL_WINDOW_ADJUST (r:0, 2097152) [12-10 15:43:54] [debug] Inbound: CHANNEL_SUCCESS (r:0) [12-10 15:43:54] [debug] Outbound: Sending CHANNEL_DATA (r:0, 9) [12-10 15:43:55] [debug] Inbound: CHANNEL_DATA (r:0, 154) [12-10 15:43:55] [debug] SFTP: Inbound: Received VERSION (v3, exts:posix-rename@openssh.com,statvfs@openssh.com,fstatvfs@openssh.com,hardlink@openssh.com,fsync@openssh.com) [12-10 15:43:55] [debug] Outbound: Sending CHANNEL_DATA (r:0, 37) [12-10 15:43:55] [debug] SFTP: Outbound: Buffered MKDIR [12-10 15:43:55] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:43:55] [debug] SFTP: Inbound: Received STATUS (id:0, 4, "Failure") [12-10 15:43:55] [debug] Outbound: Sending CHANNEL_DATA (r:0, 33) [12-10 15:43:55] [debug] SFTP: Outbound: Buffered LSTAT [12-10 15:43:55] [debug] Inbound: CHANNEL_DATA (r:0, 41) [12-10 15:43:55] [debug] SFTP: Inbound: Received ATTRS (id:1) [12-10 15:43:55] [debug] Outbound: Sending CHANNEL_DATA (r:0, 48) [12-10 15:43:55] [debug] SFTP: Outbound: Buffered OPEN [12-10 15:43:55] [debug] Inbound: CHANNEL_DATA (r:0, 17) [12-10 15:43:55] [debug] SFTP: Inbound: Received HANDLE (id:2) [12-10 15:43:55] [debug] Outbound: Sending CHANNEL_DATA (r:0, 17) [12-10 15:43:55] [debug] SFTP: Outbound: Buffered FSTAT [12-10 15:43:55] [debug] Inbound: CHANNEL_DATA (r:0, 41) [12-10 15:43:55] [debug] SFTP: Inbound: Received ATTRS (id:3) [12-10 15:43:55] [debug] Outbound: Sending CHANNEL_DATA (r:0, 25) [12-10 15:43:55] [debug] SFTP: Outbound: Buffered FSETSTAT [12-10 15:43:55] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:43:55] [debug] SFTP: Inbound: Received STATUS (id:4, 0, "Success") [12-10 15:43:55] [debug] Outbound: Sending CHANNEL_DATA (r:0, 33) [12-10 15:43:55] [debug] SFTP: Outbound: Sent WRITE (id:5) [12-10 15:43:55] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:43:55] [debug] SFTP: Inbound: Received STATUS (id:5, 0, "Success") [12-10 15:43:55] [debug] Outbound: Sending CHANNEL_DATA (r:0, 29) [12-10 15:43:55] [debug] SFTP: Outbound: Buffered FSETSTAT [12-10 15:43:55] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:43:55] [debug] SFTP: Inbound: Received STATUS (id:6, 0, "Success") [12-10 15:43:55] [debug] Outbound: Sending CHANNEL_DATA (r:0, 17) [12-10 15:43:55] [debug] SFTP: Outbound: Buffered CLOSE [12-10 15:43:55] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:43:55] [debug] SFTP: Inbound: Received STATUS (id:7, 0, "Success") [12-10 15:43:55] [info] local ➞ remote /Users/stefanpandele/coding/sw6/custom/test 4 [12-10 15:43:58] [info] [file-save] /Users/stefanpandele/coding/sw6/custom/test 4 [12-10 15:43:58] [trace] handle upload file for /Users/stefanpandele/coding/sw6/custom/test 4 [12-10 15:43:58] [debug] Outbound: Sending CHANNEL_DATA (r:0, 37) [12-10 15:43:58] [debug] SFTP: Outbound: Buffered MKDIR [12-10 15:43:58] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:43:58] [debug] SFTP: Inbound: Received STATUS (id:8, 4, "Failure") [12-10 15:43:58] [debug] Outbound: Sending CHANNEL_DATA (r:0, 33) [12-10 15:43:58] [debug] SFTP: Outbound: Buffered LSTAT [12-10 15:43:58] [debug] Inbound: CHANNEL_DATA (r:0, 41) [12-10 15:43:58] [debug] SFTP: Inbound: Received ATTRS (id:9) [12-10 15:43:58] [debug] Outbound: Sending CHANNEL_DATA (r:0, 48) [12-10 15:43:58] [debug] SFTP: Outbound: Buffered OPEN [12-10 15:43:58] [debug] Inbound: CHANNEL_DATA (r:0, 17) [12-10 15:43:58] [debug] SFTP: Inbound: Received HANDLE (id:10) [12-10 15:43:58] [debug] Outbound: Sending CHANNEL_DATA (r:0, 17) [12-10 15:43:58] [debug] SFTP: Outbound: Buffered FSTAT [12-10 15:43:58] [debug] Inbound: CHANNEL_DATA (r:0, 41) [12-10 15:43:58] [debug] SFTP: Inbound: Received ATTRS (id:11) [12-10 15:43:58] [debug] Outbound: Sending CHANNEL_DATA (r:0, 25) [12-10 15:43:58] [debug] SFTP: Outbound: Buffered FSETSTAT [12-10 15:43:58] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:43:58] [debug] SFTP: Inbound: Received STATUS (id:12, 0, "Success") [12-10 15:43:58] [debug] Outbound: Sending CHANNEL_DATA (r:0, 33) [12-10 15:43:58] [debug] SFTP: Outbound: Sent WRITE (id:13) [12-10 15:43:58] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:43:58] [debug] SFTP: Inbound: Received STATUS (id:13, 0, "Success") [12-10 15:43:58] [debug] Outbound: Sending CHANNEL_DATA (r:0, 29) [12-10 15:43:58] [debug] SFTP: Outbound: Buffered FSETSTAT [12-10 15:43:58] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:43:58] [debug] SFTP: Inbound: Received STATUS (id:14, 0, "Success") [12-10 15:43:58] [debug] Outbound: Sending CHANNEL_DATA (r:0, 17) [12-10 15:43:58] [debug] SFTP: Outbound: Buffered CLOSE [12-10 15:43:58] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:43:58] [debug] SFTP: Inbound: Received STATUS (id:15, 0, "Success") [12-10 15:43:58] [info] local ➞ remote /Users/stefanpandele/coding/sw6/custom/test 4 [12-10 15:44:15] [info] [file-save] /Users/stefanpandele/coding/sw6/custom/test 44 [12-10 15:44:15] [trace] handle upload file for /Users/stefanpandele/coding/sw6/custom/test 44 [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 37) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered MKDIR [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:44:15] [debug] SFTP: Inbound: Received STATUS (id:16, 4, "Failure") [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 33) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered LSTAT [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 41) [12-10 15:44:15] [debug] SFTP: Inbound: Received ATTRS (id:17) [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 49) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered OPEN [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 17) [12-10 15:44:15] [debug] SFTP: Inbound: Received HANDLE (id:18) [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 17) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered FSTAT [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 41) [12-10 15:44:15] [debug] SFTP: Inbound: Received ATTRS (id:19) [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 25) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered FSETSTAT [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:44:15] [debug] SFTP: Inbound: Received STATUS (id:20, 0, "Success") [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 33) [12-10 15:44:15] [debug] SFTP: Outbound: Sent WRITE (id:21) [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:44:15] [debug] SFTP: Inbound: Received STATUS (id:21, 0, "Success") [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 29) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered FSETSTAT [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:44:15] [debug] SFTP: Inbound: Received STATUS (id:22, 0, "Success") [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 17) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered CLOSE [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:44:15] [debug] SFTP: Inbound: Received STATUS (id:23, 0, "Success") [12-10 15:44:15] [info] local ➞ remote /Users/stefanpandele/coding/sw6/custom/test 44 [12-10 15:44:15] [info] [file-save] /Users/stefanpandele/coding/sw6/custom/test 44 [12-10 15:44:15] [trace] handle upload file for /Users/stefanpandele/coding/sw6/custom/test 44 [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 37) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered MKDIR [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:44:15] [debug] SFTP: Inbound: Received STATUS (id:24, 4, "Failure") [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 33) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered LSTAT [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 41) [12-10 15:44:15] [debug] SFTP: Inbound: Received ATTRS (id:25) [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 49) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered OPEN [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 17) [12-10 15:44:15] [debug] SFTP: Inbound: Received HANDLE (id:26) [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 17) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered FSTAT [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 41) [12-10 15:44:15] [debug] SFTP: Inbound: Received ATTRS (id:27) [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 25) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered FSETSTAT [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:44:15] [debug] SFTP: Inbound: Received STATUS (id:28, 0, "Success") [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 33) [12-10 15:44:15] [debug] SFTP: Outbound: Sent WRITE (id:29) [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:44:15] [debug] SFTP: Inbound: Received STATUS (id:29, 0, "Success") [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 29) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered FSETSTAT [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:44:15] [debug] SFTP: Inbound: Received STATUS (id:30, 0, "Success") [12-10 15:44:15] [debug] Outbound: Sending CHANNEL_DATA (r:0, 17) [12-10 15:44:15] [debug] SFTP: Outbound: Buffered CLOSE [12-10 15:44:15] [debug] Inbound: CHANNEL_DATA (r:0, 28) [12-10 15:44:15] [debug] SFTP: Inbound: Received STATUS (id:31, 0, "Success") [12-10 15:44:15] [info] local ➞ remote /Users/stefanpandele/coding/sw6/custom/test 44 [12-10 15:44:24] [debug] Outbound: Sending ping (GLOBAL_REQUEST: keepalive@openssh.com) [12-10 15:44:24] [debug] Inbound: Received REQUEST_FAILURE --- here I delete the file but no logging for my action ---