How is it that sites like mega dot nz are able to download a file, but only show...

@north@xn--8r9a.com

How is it that sites like mega dot nz are able to download a file, but only show it as being downloaded (very quickly) after it's actually downloaded? It somehow works for multi-GB files.