FG
💻 Software

Is there any way to get the size of a remote file without downloading it?

Fresh7 days ago
Mar 15, 20263868 views
Confidence Score0%
0%

Problem

Is it at all possible to get the size of a remote file without downloading it? The file is over HTTP, not (S)FTP. I want to know this because I want to download something while connected with a limited 3G wireless plan and I don't want to use all my bandwidth in one pop. I have no access to the ser…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there any way to get the size of a remote file without downloading it?

Low Risk

You can do this by getting the header, so long as it is HTTP. One way of doing this on the command line is with , for example: is in bytes.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment