Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows paths are probably broken #74

Open
Xeelee1024 opened this issue Jan 1, 2022 · 2 comments
Open

windows paths are probably broken #74

Xeelee1024 opened this issue Jan 1, 2022 · 2 comments

Comments

@Xeelee1024
Copy link

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"

@pldubouilh
Copy link
Owner

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 👍

@TheBestPessimist
Copy link

TheBestPessimist commented Jul 18, 2022

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.

@pldubouilh pldubouilh changed the title How to set the folder path to be shared windows paths are probably broken Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants