My mission is to bridge the gap between innovation and liberty, crafting a future where technology empowers all. With a commitment to coding, software, and liberty, I strive for impactful innovation.

  • 0 Posts
  • 6 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle

  • To add to all great comments here I have one that I’ve used for ages and not seen mentioned here: lftp

    It supports many protocols for ftp like over ssh and allows for shaky connections with resume and back in the days when this was more common I used to just run it in the background to download huge files that took days to download and it would gracefully just reconnect/resume/retry until done.


  • It works the same because the value of the last expression in the for loop is not used for anything. It’s the side effect of that statement that counts. Eg, the value of i is checked the next time the for loop is executed by the condition check. Try replacing i in the condition check instead with i++ or ++i and you would see different results.

    Something like: for (int i = 0; ++i < 10;) { ... }