Open
Description
I just want to share the file HELLO.txt
, but the whole directory is shared.
$ echo $PWD
/home/duruyao/tmp
$ ls
HELLO.txt HI.txt
$ goshare -v
GoShare 1.1.0 (2022-05-26)
$ goshare --path HELLO.txt
_____ _____ _
/ ____| / ____| |
| | __ ___| (___ | |__ __ _ _ __ ___
| | |_ |/ _ \\___ \| '_ \ / _' | '__/ _ \
| |__| | (_) |___) | | | | (_| | | | __/
\_____|\___/_____/|_| |_|\__,_|_| \___|
GoShare is handing directory '/home/duruyao/tmp' and listening on 'localhost:3927'
Access your shared files via this URL http://localhost:3927/HELLO.txt
$ curl -kSsL http://localhost:3927/HI.txt -o HI.txt.bak
$ curl -kSsL http://localhost:3927/HELLO.txt -o HELLO.txt.bak
$ ls
HELLO.txt HELLO.txt.bak HI.txt HI.txt.bak
Metadata
Metadata
Assignees
Labels
No labels