HTTrack Website Copier
Free software offline browser - FORUM
Subject: **** Re: Httrack crashed ; more info attached ***
Author: Rajesh Nikam
Date: 07/28/2006 11:21
 
In the example.c we could see following code:

........
  CHAIN_FUNCTION(opt, receivehead, httrack_wrapper_receiveheader, NULL);

  /* Then, launch the mirror */
	ret = hts_main2(argc, argv, opt);

  /* Wait for a key */
  printf("\nPress ENTER key to exit\n");
  scanf("%s",argv[1]);

	/* Clear option state */
	hts_free_opt(opt);
	hts_uninit();

So when user hits some key, then application will terminate. So in my code I
am not waiting for some event and directly calling:

hts_free_opt(opt);
hts_uninit();

So question now is when to call hts_free_opt.

Also I want to know how to control the depth of crawling. Let say it should
crawl to depth of 3 only.

Thanks & regards,
Rajesh
 
Reply Create subthread


All articles

Subject Author Date
Httrack crashed ; please see crash dump

07/28/2006 10:36
Re: Httrack crashed ; more info attached

07/28/2006 11:11
**** Re: Httrack crashed ; more info attached ***

07/28/2006 11:21
Re: Httrack crashed ; more info attached

07/29/2006 08:26
**** Re: Httrack crashed ; more info attached ***

07/29/2006 08:27
Re: Httrack crashed ; please see crash dump

07/29/2006 08:31
****** Re: Httrack crashed ; please see crash dump

07/31/2006 08:06
****** Re: Httrack crashed ; please see crash dump

07/31/2006 08:39
****** Re: Httrack crashed ; please see crash dump

08/04/2006 20:58




b

Created with FORUM 2.0.11