fix(filetransfer): implement user permissions for file download and upload in client.

This commit is contained in:
Miroslav Šedivý
2026-08-05 18:45:17 +02:00
parent d0fb21d507
commit 27a31aaa75
9 changed files with 69 additions and 18 deletions
+5 -3
View File
@@ -607,9 +607,11 @@ func (s *session) wsToClient(msg []byte) error {
}
return s.toClient(&oldMessage.FileTransferList{
Event: oldEvent.FILETRANSFER_LIST,
Cwd: request.RootDir,
Files: files,
Event: oldEvent.FILETRANSFER_LIST,
Cwd: request.RootDir,
UserDownload: request.UserDownload,
UserUpload: request.UserUpload,
Files: files,
})
// Screen Events