Top "Filesize" questions

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

How do you get the file size in C#?

I need a way to get the size of a file using C#, and not the size on disk. How …

c# filesize
How can I get a file's size in C++?

Let's create a complementary question to this one. What is the most common way to get the file size in …

c++ filesize
Get file size before uploading

Is there any way to find out the file size before uploading the file using AJAX / PHP in change event …

javascript jquery ajax file-upload filesize
How can I check the size of a file in a Windows batch script?

I want to have a batch file which checks what the filesize is of a file. If it is bigger …

batch-file filesize
java get file size efficiently

While googling, I see that using java.io.File#length() can be slow. FileChannel has a size() method that is …

java filesize
PHP filesize MB/KB conversion

How can I convert the output of PHP's filesize() function to a nice format with MegaBytes, KiloBytes etc? like: if …

php file filesize
PHP post_max_size overrides upload_max_filesize

In my site host, I have seen (via phpinfo) that post_max_size = 8Mb upload_max_filesize = 16Mb This led …

php upload filesize
Using C++ filestreams (fstream), how can you determine the size of a file?

I'm sure I've just missed this in the manual, but how do you determine the size of a file (in …

c++ filesize fstream istream
H.264 file size for 1 hr of HD video

I'm looking for an order of magnitude estimate for expected on-disk file size for 1 hour of H.264 encoded HD video …

video h.264 filesize
Find size of Git repository

What's a simple way to find the size of my Git repository? And I don't mean du -h on the …

git filesize