first of all, I'm sorry for my English
I am doing some scripting in Python using Selenium RC.
The aim is to access to some website, and download some files
I would like to know, at the end of the script, what files exactly have been downloaded
At that moment, I'm doing something a bit naive, which is checking the new files who appears in the download directory of Firefox, it's working well but if I launch severals clients in the same times, they can't detect which files they own etc...
So i was trying to find a solution to that problem, if it's possible to handle the download from Firefox to know exactly when a download occur, and what is downloaded, then I would be super fine, but so far, I haven't find anything about that
Thanks for your help
If you are working with python-->Selenium RC why don't you just
create a lastdownload.txt type of file, and put in the dates, filenames
of the files you download.
So each time your script runs, it will check the fileserver, and your log file
to see which files are new, which files you already have. (if same filename is used
you can check the lastupdatetime of headers, or even the filesize as a way to compare)
Then you just download the new files... so this way you replicate a simple incremental mechanism with lookup on a txt file...
Is it possible to know what file is downloaded by Firefox with Selenium