HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: What do I do with all these left over tmp files?
Author: Jim
Date: 04/07/2012 06:13
 
There is no cancel button on the command line version, very few people run
windows anymore. All you can do is ctrl-C the thing.

That's the problem.

You can capture the ctrl-C and then run the cleanup code, lots of example code
out there. If that's what the GUI version actually does when you stop it.

But if the clean up code is there, why not have a simple command line switch
that will let you go directly there if you run it again?
Even better, have a marker file that indicates the clean up hasn't completed
and ask the user if he would like to complete the clean up.

The .tmp files DO contain the html from the web page that it references, it's
ready to become the .html file, but the first 500 bytes or so contain some
kind of binary information which tell the program what URL it came from and
other data.

So again, what can I do with this data now that I spent the time downloading
it all?
If I had the specs on the file format it might be possible to write a quick
perl script to finish up, but it would also have to go in and change all the
URLs to point to whatever, and it's kinda silly to re-write a bunch of code
that's already sitting there inside this program.

Just give me a switch that runs that code and we are all set.

 
Reply Create subthread


All articles

Subject Author Date
What do I do with all these left over tmp files?

04/06/2012 15:19
Re: What do I do with all these left over tmp files?

04/06/2012 17:28
Re: What do I do with all these left over tmp files?

04/07/2012 06:13
Re: What do I do with all these left over tmp files?

04/07/2012 15:37
Re: What do I do with all these left over tmp files?

04/08/2012 10:13
Re: What do I do with all these left over tmp files?

04/08/2012 17:03
Re: What do I do with all these left over tmp files?

04/07/2012 09:00
Re: What do I do with all these left over tmp files?

04/07/2012 13:10




8

Created with FORUM 2.0.11