Skip to content

Commit

Permalink
refactor virtual folders
Browse files Browse the repository at this point in the history
The same virtual folder can now be shared among users and different
folder quota limits for each user are supported.

Fixes drakkan#120
  • Loading branch information
drakkan committed Jun 7, 2020
1 parent dc011af commit 8306b6b
Show file tree
Hide file tree
Showing 56 changed files with 6,995 additions and 1,044 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v2

- name: Install golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.26.0
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0

- name: Run golangci-lint
run: golangci-lint run
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Fully featured and highly configurable SFTP server, written in Go
- Per user IP filters are supported: login can be restricted to specific ranges of IP addresses or to a specific IP address.
- Per user and per directory file extensions filters are supported: files can be allowed or denied based on their extensions.
- Virtual folders are supported: directories outside the user home directory can be exposed as virtual folders.
- Configurable custom commands and/or HTTP notifications on file upload, download, delete, rename, on SSH commands and on user add, update and delete.
- Configurable custom commands and/or HTTP notifications on file upload, download, pre-delete, delete, rename, on SSH commands and on user add, update and delete.
- Automatically terminating idle connections.
- Atomic uploads are configurable.
- Support for Git repositories over SSH.
Expand Down Expand Up @@ -132,6 +132,10 @@ SFTPGo allows to configure custom commands and/or HTTP notifications on file upl

More information about custom actions can be found [here](./docs/custom-actions.md).

## Virtual folders

Directories outside the user home directory can be exposed as virtual folders, more information [here](./docs/virtual-folders.md).

## Storage backends

### S3 Compabible Object Storage backends
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func init() {
Username: "",
Password: "",
ConnectionString: "",
UsersTable: "users",
SQLTablesPrefix: "",
ManageUsers: 1,
SSLMode: 0,
TrackQuota: 1,
Expand Down
Loading

0 comments on commit 8306b6b

Please sign in to comment.