Validate upload size against the node limit before uploading
Expose the node's upload_size on the client server resource and reject files over it in the file manager before any bytes are sent.
This commit is contained in:
1 parent
56e5db2059
commit
2e78dfef1e
12 files changed
+144
-2
No files matched your search
@@ -17,6 +17,7 @@
|
||||
"name": "Survival",
|
||||
"node": "node-alpha",
|
||||
"is_node_under_maintenance": false,
|
||||
"upload_size": 100,
|
||||
"sftp_details": {
|
||||
"ip": "alpha.example.test",
|
||||
"port": 2022
|
||||
@@ -200,6 +201,7 @@
|
||||
"name": "Survival",
|
||||
"node": "node-alpha",
|
||||
"is_node_under_maintenance": false,
|
||||
"upload_size": 100,
|
||||
"sftp_details": {
|
||||
"ip": "alpha.example.test",
|
||||
"port": 2022
|
||||
|
||||
Reference in new issue
Block a user