|Geoffrey Spencer||11/06/2005 01:47 pm|
|First of all, great program Oleg and fantastic support.
I have a question about variables. I would like to declare a variable to control where to put downloaded files. My problem is where I want to put the files is not known until a few pages into the download. I would like to set the variable based on the folder name defined in a later webpage in the download. When the downloading is done and while I am exporting, the parsing routine would use variable I declared and set during the download to set the root folder so everything is together in one folder instead of being on multiple folders. This variable changes on each download and is never the same.
I start at http://www.acme.com/folder1/page.htm
I start the download and I end up with the following:
In the end I would like to have this:
and the next download would be like this:
As you can see I do not know the folder name abc until I download abc/page.htm. Is this request possible?
|Oleg Chernavin||11/08/2005 10:06 am|
|I am afraid that this is too hard to implement now. I can only suggest you to develop a batch file or something like a program that would move all downloaded files to the folder you want after the download completes. You can get paths of all files that belong to a Project from its .map file - it is just a text file.