Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Laracast13's avatar

Visual Studio Code SFTP

Hello Using Visual Studio Code and SFTP plugin. When making sync it working but also gives like error, what this means ?


[06-22 15:14:12] [error] Error: Permission denied
	at 101 (c:\Users\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\SFTP.js:2618:19)
	at SFTP.push (c:\Users\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\SFTP.js:278:11)
	at CHANNEL_DATA (c:\Users\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\client.js:525:23)
	at 94 (c:\Users\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\handlers.misc.js:859:16)
	at Protocol.onPayload (c:\Users\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\Protocol.js:2025:10)
	at AESGCMDecipherNative.decrypt (c:\Users\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\crypto.js:987:26)
	at Protocol.parsePacket [as _parse] (c:\Users\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\Protocol.js:1994:25)
	at Protocol.parse (c:\Users\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\protocol\Protocol.js:293:16)
	at Socket.<anonymous> (c:\Users\.vscode\extensions\liximomo.sftp-1.12.10\node_modules\ssh2\lib\client.js:713:21)
	at Socket.emit (node:events:390:28)
	at addChunk (node:internal/streams/readable:315:12)
	at readableAddChunk (node:internal/streams/readable:289:9)
	at Socket.Readable.push (node:internal/streams/readable:228:10)
	at TCP.onStreamRead (node:internal/stream_base_commons:199:23) when local ➞ remote c:\Users\Desktop\code\FTP LMS\fincanet\storage\logs\laravel.log

0 likes
2 replies
Sinnbeck's avatar

Sounds like your user does not have permissions to do all it needs to, on the remote server (or locally)

Laracast13's avatar

@Sinnbeck Its remote. When making change and sync it updates file on server but also gives this error

Please or to participate in this conversation.