Top "Filesize" questions

Use this tag to mark questions related to file sizes on any file system.

How to get the size of a file in MB (Megabytes)?

I have a zip file on a server. How can I check if the file size is larger than 27 MB? …

java file url filesize
Better way to convert file sizes in Python

I am using a library that reads a file and returns its size in bytes. This file size is then …

python filesize
How do you determine the size of a file in C?

How can I figure out the size of a file, in bytes? #include <stdio.h> unsigned int fsize(…

c file io filesize
Converting file size in bytes to human-readable string

I'm using this function to convert a file size in bytes to a human-readable file size: function getReadableFileSizeString(fileSizeInBytes) { var …

javascript filesize human-readable
Check file size before upload

I am using this javascript that I got from here, and it works perfectly for what I need it to. …

php javascript file-upload image-uploading filesize
Reusable library to get human readable version of file size?

There are various snippets on the web that would give you a function to return human readable size from bytes …

python code-snippets filesize
Get size of file on disk

var length = new System.IO.FileInfo(path).Length; This gives the logical size of the file, not the size on …

c# .net filesize
Maximum upload size in PHP and Apache?

I want to know what is the Maximum upload size in PHP and Apache? Can i upload more than 2GB …

php apache filesize
Adding the file sizes of Get-ChildItem listing

My goal is to figure out how much space all images on my network drives are taking up. So my …

powershell filesize get-childitem
Size of an open file object

Is there a way to find the size of a file object that is currently open? Specifically, I am working …

python file file-io filesize tarfile