You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Opera mixing up files in temporary downloads
Hello everyone.I'm developing a php script that generates a .m3u playlist containing paths to one or several files, passes it to the browser, which then passes it to an application via the download dialog. There's two scripts: one where I can see some info and set parameters, and another which is called by the first script via a html form and a button. The second script then generates the http headers and the playlist file and feeds them to the browser, opening the download dialog. However, I've noticed that when pressing 'Open', instead of the newly generated file, Opera always passes to the program the same outdated playlist from the temporary downloads directory that I have first downloaded from the same place, even if the new file's contents and even name are different. When I press 'Save' on the dialog I get the correct file though.
First I thought it to be a classic caching problem and added a timestamp to the filename - with no luck. Then I tried changing the name completely and added all possible headers telling that the file should not be cached, again no luck. After more than 12 hours it still opened the wrong file with wrong name from temporary downloads. Only after closing and re-opening Opera I get an up-to-date file... once.
So what gives? How is it possible to confuse two files that have DIFFERENT NAME AND SIZE, when the only thing in common is that they have been downloaded from the same url?
My Opera version is 10.53 for Windows. With the Linux version I don't have this problem, neither with other browsers.