gossa icon indicating copy to clipboard operation
gossa copied to clipboard

windows paths are probably broken

Open Xeelee1024 opened this issue 3 years ago • 2 comments

I found that the software has some problems in setting the shared folder path. It can only be relative paths and not absolute paths for example: When I use the command line below, it works normally : gossa.exe -h 0.0.0.0 -p 8001 .\gossa When I use the command line below, it does not work properly: gossa.exe -h 0.0.0.0 -p 8001 f:\download it can’t display the files in the folder correctly on the webpage,but displays "error [get content /] invalid path"

Xeelee1024 avatar Jan 01 '22 10:01 Xeelee1024

thanks for the report - I haven't really tested on windows, so I'm not surprised something's off I'll try to test it out and get a fix for the next release :+1:

pldubouilh avatar May 31 '22 22:05 pldubouilh

If interested in using docker on windows, it's really easy to do it:

In powershell, if you want to share the root of the drive (you can see i'm in folder D:\:

PS D:\> docker run --rm -it -v ${pwd}:/shared -p 8001:8001 pldubouilh/gossa
Gossa starting on directory /shared
Listening on http://0.0.0.0:8001/

and now just access the link http://localhost:8001.

TheBestPessimist avatar Jul 18 '22 05:07 TheBestPessimist