Maxing out Wetransfer

wetransfer.com lets you send files up to 2 GB around the world for free.

But exactly how many bytes are in 2 GB?

CS majors would probably go with 2 * 1024^3 = 2147483648, but files that big get rejected.

So, should we count like the storage manufacturers and calculate 2 * 1000^3 = 2000000000?

Well, turns out files as big as 2 * 1024^3 - 1 = 2147483647 are ok, with one byte left.

Looks like someone used < instead of <= for the size check :wink:

That's the maximum 32-bit signed integer size, so they may be using those as their unit.

2 Likes