Would I use FileSize() to get the size of a file? It's asking for an integer "FileNum", so I'm not sure what to input.
I'm downloading video files from my security camera, and would like to delete files if the folder gets too big. What would be the best way to accomplish this? I was thinking simply reading the folder size and deleting the oldest files. But maybe there's a way to have the folder automatically overwrite if the folder gets too large? Couldn't find anything about that.


Reply With Quote






