{"action":"created","issue":{"url":"https://api.github.com/repos/liximomo/vscode-sftp/issues/381","repository_url":"https://api.github.com/repos/liximomo/vscode-sftp","labels_url":"https://api.github.com/repos/liximomo/vscode-sftp/issues/381/labels{/name}","comments_url":"https://api.github.com/repos/liximomo/vscode-sftp/issues/381/comments","events_url":"https://api.github.com/repos/liximomo/vscode-sftp/issues/381/events","html_url":"https://github.com/liximomo/vscode-sftp/issues/381","id":375093594,"node_id":"MDU6SXNzdWUzNzUwOTM1OTQ=","number":381,"title":"Sync Local->Remote does not delete files/folders","user":{"login":"vctrlt","id":1019862,"node_id":"MDQ6VXNlcjEwMTk4NjI=","avatar_url":"https://avatars1.githubusercontent.com/u/1019862?v=4","gravatar_id":"","url":"https://api.github.com/users/vctrlt","html_url":"https://github.com/vctrlt","followers_url":"https://api.github.com/users/vctrlt/followers","following_url":"https://api.github.com/users/vctrlt/following{/other_user}","gists_url":"https://api.github.com/users/vctrlt/gists{/gist_id}","starred_url":"https://api.github.com/users/vctrlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vctrlt/subscriptions","organizations_url":"https://api.github.com/users/vctrlt/orgs","repos_url":"https://api.github.com/users/vctrlt/repos","events_url":"https://api.github.com/users/vctrlt/events{/privacy}","received_events_url":"https://api.github.com/users/vctrlt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-29T16:07:10Z","updated_at":"2018-12-10T20:20:29Z","closed_at":"2018-11-01T14:03:56Z","author_association":"NONE","body":"**Do you read the FAQ?**\r\n- [x] Yes.\r\n- [ ] [I am going to read now.](https://github.com/liximomo/vscode-sftp/blob/master/FAQ.md)\r\n\r\n**Describe the bug**\r\nWhen syning to the remote server, files which don't exist in local but exist in remote, are not deleted in remote server. It happens the other way around too  (remote->local)\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. \"syncMode\": \"full\" in the config. file\r\n2. Right click on a folder\r\n3. Run Sync Local->Remote from the contextual menu\r\n4. Check the remote server with SSH, see that files which don't exist on local have not been deleted on remote\r\n\r\n**Expected behavior**\r\nFiles that don't exist on local and exist on remote should be remove on remote\r\n\r\n**Desktop (please complete the following information):**\r\n - OS: Win\r\n- Version: 1.28.2 (user setup)\r\n\r\n**Extension Logs** - *required*\r\n\r\n[trace] run command 'Sync Local To Remote'\r\n[trace] handle sync for c:\\folder\r\n[debug] Outgoing: Writing MKDIR\r\n[debug] Outgoing: Writing CHANNEL_DATA (0)\r\n[debug] Outgoing: Writing LSTAT\r\n[debug] Outgoing: Writing CHANNEL_DATA (0)\r\n[debug] Outgoing: Writing OPENDIR\r\n[debug] Outgoing: Writing CHANNEL_DATA (0)\r\n[debug] Outgoing: Writing READDIR\r\n[debug] Outgoing: Writing CHANNEL_DATA (0)\r\n[debug] Outgoing: Writing READDIR\r\n[debug] Outgoing: Writing CHANNEL_DATA (0)\r\n[debug] Outgoing: Writing CLOSE\r\n[debug] Outgoing: Writing CHANNEL_DATA (0)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/liximomo/vscode-sftp/issues/comments/445958361","html_url":"https://github.com/liximomo/vscode-sftp/issues/381#issuecomment-445958361","issue_url":"https://api.github.com/repos/liximomo/vscode-sftp/issues/381","id":445958361,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTk1ODM2MQ==","user":{"login":"CWrecker","id":45770625,"node_id":"MDQ6VXNlcjQ1NzcwNjI1","avatar_url":"https://avatars0.githubusercontent.com/u/45770625?v=4","gravatar_id":"","url":"https://api.github.com/users/CWrecker","html_url":"https://github.com/CWrecker","followers_url":"https://api.github.com/users/CWrecker/followers","following_url":"https://api.github.com/users/CWrecker/following{/other_user}","gists_url":"https://api.github.com/users/CWrecker/gists{/gist_id}","starred_url":"https://api.github.com/users/CWrecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CWrecker/subscriptions","organizations_url":"https://api.github.com/users/CWrecker/orgs","repos_url":"https://api.github.com/users/CWrecker/repos","events_url":"https://api.github.com/users/CWrecker/events{/privacy}","received_events_url":"https://api.github.com/users/CWrecker/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T20:20:29Z","updated_at":"2018-12-10T20:20:29Z","author_association":"NONE","body":"i get an error, every time i sync local -> remote:\r\n:/ Device or Resource busy"}}
{"actor":{"display_login":"CWrecker"}}