duckiebear
Programmer
I have a web application where users can upload files in a record with metadata about the file. Is there a way to determine the file size before the user opens the file, so I could notify the user "you are downloading a file that is XX MB, please ensure you have enough disk space before confirming the download".
Also, is there a way to check the file size of "to be uploaded" attachments before the record is saved to compare with the amount of available disk space on the server, so I can disallow a user from uploading a file if it will leave me with 10% or less disk space on the server?
Also, is there a way to check the file size of "to be uploaded" attachments before the record is saved to compare with the amount of available disk space on the server, so I can disallow a user from uploading a file if it will leave me with 10% or less disk space on the server?