Closed lechnerc77 closed 2 weeks ago
Thanks for the feature request. We evaluate it and update the issue accordingly.
os
functionality to get the size without opening the file like:fi, err := os.Stat("/path/to/file")
if err != nil {
return err
}
// get the size
size := fi.Size()
Add a file size check for the uploaded/opened JSON file. In case a certain limit is exceeded, abort the process and raise an error message