sftpgo-mirror/common
Nicola Murino 04001f7ad3
FTP: try to return more specific error codes/messages for some errors
We now return 552 code for quota exceeded errors and 553 in the following
cases:

- filename denied by a filter
- no upload permission
- no overwrite permission
- pre upload hook error

Fixes #442
2021-06-28 19:40:04 +02:00
..
actions.go modules: add v2 support 2021-06-26 07:31:41 +02:00
actions_test.go modules: add v2 support 2021-06-26 07:31:41 +02:00
clientsmap.go modules: add v2 support 2021-06-26 07:31:41 +02:00
clientsmap_test.go allow to limit the number of per-host connections 2021-05-08 19:45:21 +02:00
common.go modules: add v2 support 2021-06-26 07:31:41 +02:00
common_test.go modules: add v2 support 2021-06-26 07:31:41 +02:00
connection.go FTP: try to return more specific error codes/messages for some errors 2021-06-28 19:40:04 +02:00
connection_test.go FTP: try to return more specific error codes/messages for some errors 2021-06-28 19:40:04 +02:00
defender.go modules: add v2 support 2021-06-26 07:31:41 +02:00
defender_test.go defender: fix GetHost for blocklist entries too 2021-06-20 21:57:19 +02:00
httpauth.go modules: add v2 support 2021-06-26 07:31:41 +02:00
httpauth_test.go Use new methods in the io and os packages instead of ioutil ones 2021-02-25 21:53:04 +01:00
protocol_test.go modules: add v2 support 2021-06-26 07:31:41 +02:00
ratelimiter.go modules: add v2 support 2021-06-26 07:31:41 +02:00
ratelimiter_test.go add rate limiting support for REST API/web admin too 2021-04-19 08:14:04 +02:00
tlsutils.go modules: add v2 support 2021-06-26 07:31:41 +02:00
tlsutils_test.go Use new methods in the io and os packages instead of ioutil ones 2021-02-25 21:53:04 +01:00
transfer.go FTP: try to return more specific error codes/messages for some errors 2021-06-28 19:40:04 +02:00
transfer_test.go modules: add v2 support 2021-06-26 07:31:41 +02:00