KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need the filesize on disk and not the file size. File myFile = new File ("C:\\Send\\Capture.png"); System.out.println((int)myFile.length()); This code gives the file size. I need the file size on disk. They always happen to be different, like in the picture below, right?
Tags (comma-separated)
Save Edits
Cancel