-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I'd like to run wush serve
such that it is limited to only file uploads to a specific folder. Here's my current strategy:
cd /path/to/folder/
wush serve --enable=cp
Will this setup only support wush cp <file>
, or does it open up for more? For instance, does wush rsync
operate also under --enable=cp
or does that require, say, --enable=ssh
?
The reason I'm asking is that, AFAIU, file transfer with wush cp <file>
;
$ wush cp --help
USAGE:
wush cp <file>
Transfer files to a wush server.
will end up in the working directory where wush serve
was launched, and it's not possible for someone to send files so they end up elsewhere on the "server". Is that correct? In contrast, it looks like the sender can send files anywhere on the server using wush rsync
when that is supported;
wush rsync --help
USAGE:
wush rsync [flags] -- [rsync args]
Transfer files with rsync to/from a wush server.
Use wush serve on the computer you would like to transfer files to.
- Upload a local file:
$ wush rsync /local/path :/remote/path
Metadata
Metadata
Assignees
Labels
No labels