I have always noticed that when for example a react project or a whole website for an instance whose size sums up to say 350-450 MB takes a longer time to transfer than a 2-3 GB video file or for the matter of fact any number of files that are bundled into one file like a .zip/.rar/.iso.
Some SCs :-
Transferring some react projects:-
Transferring a movie:-
I scoured the web but unfortunately found no relevant posts/answers.
Maybe I didn't use the necessary keywords...idk
If possible, a detailed explanation would be really helpful :)
Even if the explanation dives into OS concepts it's cool.
I just wanna know why
There is actually a lot going on behind the 'scenes' when you transfer a file:
I'm sure I'm already missing a ton of steps here, but I'm here to illustrate a lot of stuff is going on before and after the actual transfer. Even if the file is empty (0 bytes) we still have to do all this. That's apart from the already given answers such as fragmentation.