CraftBot
CraftBot copied to clipboard
Fix / Upload Limit
What
- Set upload limit to 200MB. Error message when file size exceeds 200MB
- Files < 50MB are read entirely into memory as base64 dataurls and sent as a single message, whereas 50MB < file size < 200MB use new HTTP endpoint mirroring Living UI import
- Add error message when attempting to create a new file/folder with the same name as an existing file/folder in the current directory
Why
- Defined upload limit with error messaging
- Closes #215
- Closes #325
How to test
- Navigate to CraftBot workspace
- Attempt to upload file < 200MB. Files greater than 50MB but less than 200MB will display upload progress bar.
- Attempt to upload file > 200MB and file will not upload with an error message