It was just an example.
I don't realy want to tell myself "I just canceled the download". What I'm trying to do is based on this idea.
If I download something, and after 2 minutes there is a transfer problem, (and I'm not near the computer), I can build a script that will auto request the file. The problem is that if I do the cancel, it will also try to resume.
This is what I'm trying to achive.
Anyone knows how can it be done?