guacamole-lite icon indicating copy to clipboard operation
guacamole-lite copied to clipboard

File downloading broken?

Open greyivy opened this issue 5 years ago • 3 comments

I am unable to manipulate the InputStream from the onfile callback in the client. I do receive the mimetype and filename, but that's it. Has anyone had any luck downloading files (regardless of the method used)?

greyivy avatar Aug 09 '19 16:08 greyivy

I am gonna link this to https://github.com/vadimpronin/guacamole-lite/issues/30 I think we might be running into the same stuff here, not sure if file/audio streams are functional.

thelamer avatar Apr 08 '20 20:04 thelamer

I'm running into the same exact problem right now. Does anyone have a solution for this yet? Or do we at least know, if this is a problem with guacamole-lite?

Edit: typo

deg0nz avatar Dec 19 '20 00:12 deg0nz

So my update on this:

We are using guacd (Docker) and guacamole-common-js v1.2.0 with most recent guacamole-lite. File upload is working fine, as well as the basic usage of the Guacamole RDP network drive in Windows. I can add and use files there and they are mirrored on the Linux machine running guacd.

I analyzed this with tcpdump and the first packet containing mimetype and the filename is sent and then noting (regarding the file download).

So the root cause for this (and so for the empty stream) seems to be within guacd. When you drop a file into the Download folder, the action gets triggered, but guacd prints an error while reading the file. The open() function errors with File not found. I will investigate this further.

@greyivy If you still have a running machine with guacamole, can you confirm this? (You have to set guacd logs to debug)

Edit: add/change words for better understanding

deg0nz avatar Dec 22 '20 23:12 deg0nz