liximomo / vscode-sftp

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

File uploaded but sftp shows file uploading.... #938

Closed miteshcirkle closed 2 years ago

miteshcirkle commented 3 years ago

Describe the bug Open VS code and try to save the file on remote server file uploaded but extension showing file uploading till VS Code not reload. If I check on the server direct, yes file is updated on the server. In VS code - In the first try file uploaded successfully, it shows this still uploading. I tried other IDE or code editor software that working perfectly with this same server. . To Reproduce Steps to reproduce the behavior: Just connect with the server and try to save a file on a remote server

Expected behavior File uploading on the server for a longer time till VS Code not reloaded.

Screenshots https://prnt.sc/130sxl3

Desktop (please complete the following information):

Extension Logs from Startup - required [05-17 08:55:21] [debug] register command "Cancel All Transfer" from "./commandCancelAllTransfer.ts" [05-17 08:55:21] [debug] register command "Config" from "./commandConfig.ts" [05-17 08:55:21] [debug] register command "List Active Folder" from "./commandListActiveFolder.ts" [05-17 08:55:21] [debug] register command "Open Ssh Connection" from "./commandOpenSshConnection.ts" [05-17 08:55:21] [debug] register command "Set Profile" from "./commandSetProfile.ts" [05-17 08:55:21] [debug] register command "Toggle Output Panel" from "./commandToggleOutputPanel.ts" [05-17 08:55:21] [debug] register command "Upload Changed Files" from "./commandUploadChangedFiles.ts" [05-17 08:55:21] [debug] register command "Delete Remote" from "./fileCommandDeleteRemote.ts" [05-17 08:55:21] [debug] register command "Diff" from "./fileCommandDiff.ts" [05-17 08:55:21] [debug] register command "Diff Active File" from "./fileCommandDiffActiveFile.ts" [05-17 08:55:21] [debug] register command "Download" from "./fileCommandDownload.ts" [05-17 08:55:21] [debug] register command "Download Active File" from "./fileCommandDownloadActiveFile.ts" [05-17 08:55:21] [debug] register command "Download Active Folder" from "./fileCommandDownloadActiveFolder.ts" [05-17 08:55:21] [debug] register command "Download File" from "./fileCommandDownloadFile.ts" [05-17 08:55:21] [debug] register command "Download Folder" from "./fileCommandDownloadFolder.ts" [05-17 08:55:21] [debug] register command "Download Force" from "./fileCommandDownloadForce.ts" [05-17 08:55:21] [debug] register command "Download Project" from "./fileCommandDownloadProject.ts" [05-17 08:55:21] [debug] register command "Edit In Local" from "./fileCommandEditInLocal.ts" [05-17 08:55:21] [debug] register command "List" from "./fileCommandList.ts" [05-17 08:55:21] [debug] register command "List All" from "./fileCommandListAll.ts" [05-17 08:55:21] [debug] register command "Reveal In Explorer" from "./fileCommandRevealInExplorer.ts" [05-17 08:55:21] [debug] register command "Reveal In Remote Explorer" from "./fileCommandRevealInRemoteExplorer.ts" [05-17 08:55:21] [debug] register command "Sync Both Directions" from "./fileCommandSyncBothDirections.ts" [05-17 08:55:21] [debug] register command "Sync Local To Remote" from "./fileCommandSyncLocalToRemote.ts" [05-17 08:55:21] [debug] register command "Sync Remote To Local" from "./fileCommandSyncRemoteToLocal.ts" [05-17 08:55:21] [debug] register command "Upload" from "./fileCommandUpload.ts" [05-17 08:55:21] [debug] register command "Upload Active File" from "./fileCommandUploadActiveFile.ts" [05-17 08:55:21] [debug] register command "Upload Active Folder" from "./fileCommandUploadActiveFolder.ts" [05-17 08:55:21] [debug] register command "Upload File" from "./fileCommandUploadFile.ts" [05-17 08:55:21] [debug] register command "Upload Folder" from "./fileCommandUploadFolder.ts" [05-17 08:55:21] [debug] register command "Upload Force" from "./fileCommandUploadForce.ts" [05-17 08:55:21] [debug] register command "Upload Project" from "./fileCommandUploadProject.ts" [05-17 08:55:21] [info] config at c:\xampp\htdocs\MyProject {"remotePath":"/public_html","uploadOnSave":true,"downloadOnOpen":false,"ignore":[".vscode",".git"],"concurrency":1,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"remoteTimeOffsetInHours":1,"name":"My Server","host":"000.000.000.00","username":"","port":22,"password":"","syncMode":"full"} [05-17 09:04:18] [info] [file-save] c:\xampp\htdocs\MyProject [05-17 09:04:18] [trace] handle upload file for c:\xampp\htdocs\MyProject [05-17 09:04:18] [debug] Local ident: 'SSH-2.0-ssh2js0.4.5' [05-17 09:04:18] [debug] Client: Trying 000.000.000.00 on port 22 ... [05-17 09:04:19] [debug] Client: Connected [05-17 09:04:19] [debug] Remote ident: 'SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u7' [05-17 09:04:19] [debug] Outgoing: Writing KEXINIT [05-17 09:04:19] [debug] DEBUG: Comparing KEXINITs ... [05-17 09:04:19] [debug] (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 [05-17 09:04:19] [debug] (remote) KEX algorithms: 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 [05-17 09:04:19] [debug] KEX algorithm: ecdh-sha2-nistp256 [05-17 09:04:19] [debug] (local) Host key formats: ssh-ed25519,ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 [05-17 09:04:19] [debug] (remote) Host key formats: ssh-rsa,rsa-sha2-512,rsa-sha2-256 [05-17 09:04:19] [debug] Host key format: ssh-rsa [05-17 09:04:19] [debug] (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com [05-17 09:04:19] [debug] (remote) Client->Server ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [05-17 09:04:19] [debug] Client->Server Cipher: aes128-ctr [05-17 09:04:19] [debug] (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com [05-17 09:04:19] [debug] (remote) Server->Client ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [05-17 09:04:19] [debug] Server->Client Cipher: aes128-ctr [05-17 09:04:19] [debug] (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [05-17 09:04:19] [debug] (remote) Client->Server HMAC algorithms: 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 [05-17 09:04:19] [debug] Client->Server HMAC algorithm: hmac-sha2-256 [05-17 09:04:19] [debug] (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [05-17 09:04:19] [debug] (remote) Server->Client HMAC algorithms: 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 [05-17 09:04:19] [debug] Server->Client HMAC algorithm: hmac-sha2-256 [05-17 09:04:19] [debug] (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib [05-17 09:04:19] [debug] (remote) Client->Server compression algorithms: none,zlib@openssh.com [05-17 09:04:19] [debug] Client->Server compression algorithm: none [05-17 09:04:19] [debug] (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib [05-17 09:04:19] [debug] (remote) Server->Client compression algorithms: none,zlib@openssh.com [05-17 09:04:19] [debug] Server->Client compression algorithm: none [05-17 09:04:19] [debug] Outgoing: Writing KEXECDH_INIT [05-17 09:04:19] [debug] DEBUG: Checking host key format [05-17 09:04:19] [debug] DEBUG: Checking signature format [05-17 09:04:19] [debug] DEBUG: Verifying host fingerprint [05-17 09:04:19] [debug] DEBUG: Host accepted by default (no verification) [05-17 09:04:19] [debug] DEBUG: Verifying signature [05-17 09:04:19] [debug] Outgoing: Writing NEWKEYS [05-17 09:04:19] [debug] Outgoing: Writing SERVICE_REQUEST (ssh-userauth) [05-17 09:04:20] [debug] Outgoing: Writing USERAUTH_REQUEST (none) [05-17 09:04:20] [debug] Client: none auth failed [05-17 09:04:20] [debug] Outgoing: Writing USERAUTH_REQUEST (password) [05-17 09:04:20] [debug] Outgoing: Writing CHANNEL_OPEN (0, session) [05-17 09:04:21] [debug] Outgoing: Writing CHANNEL_REQUEST (0, subsystem: sftp) [05-17 09:04:21] [debug] Outgoing: Writing CHANNEL_DATA (0) [05-17 09:04:22] [debug] Outgoing: Writing MKDIR [05-17 09:04:22] [debug] Outgoing: Writing CHANNEL_DATA (0) [05-17 09:04:22] [debug] Outgoing: Writing LSTAT [05-17 09:04:22] [debug] Outgoing: Writing CHANNEL_DATA (0) [05-17 09:04:22] [debug] Outgoing: Writing OPEN [05-17 09:04:22] [debug] Outgoing: Writing CHANNEL_DATA (0) [05-17 09:04:23] [debug] Outgoing: Writing FSTAT [05-17 09:04:23] [debug] Outgoing: Writing CHANNEL_DATA (0) [05-17 09:04:23] [debug] Outgoing: Writing FSETSTAT [05-17 09:04:23] [debug] Outgoing: Writing CHANNEL_DATA (0) [05-17 09:04:23] [debug] Outgoing: Writing WRITE [05-17 09:04:23] [debug] Outgoing: Writing CHANNEL_DATA (0) [05-17 09:04:24] [debug] Outgoing: Writing CLOSE [05-17 09:04:24] [debug] Outgoing: Writing CHANNEL_DATA (0) [05-17 09:04:24] [debug] Outgoing: Writing FSETSTAT [05-17 09:04:24] [debug] Outgoing: Writing CHANNEL_DATA (0) [05-17 09:04:24] [debug] Outgoing: Writing CHANNEL_CLOSE (0) [05-17 09:04:49] [trace] run command 'Toggle Output Panel' [05-17 09:04:51] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:05:22] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:05:52] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:06:22] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:06:53] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:07:23] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:07:53] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:08:24] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:08:54] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:09:24] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:09:55] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:10:25] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:10:55] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:11:26] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:11:56] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:12:26] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:12:57] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:13:27] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:13:57] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:14:27] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [05-17 09:14:58] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com)

Natizyskunk commented 3 years ago

You can try my version, i've fixed a lot of bugs, maybe this will fix yours 🙂 https://github.com/Natizyskunk/vscode-sftp/releases