|
|
|
|
|
by jeroenhd
193 days ago
|
|
curl's approach will lead to partial and failed downloads. When a client stops accepting new data, servers tend to close the connection after a while. There are smoother ways to deal with this (i.e. reduce download rate by faking dropped packets to output speed), but if you just want a simple download command, I think both simple solutions are fine. If the download doesn't fit in RAM, it'll end up swapped out and effectively cached to disk anyway. |
|