Opera create empty entry in file system
-
mrozigor last edited by
Hello.
I use Opera for saving file and then I need to process this file. I look up for new entries in given directory and I see three entries - first one is empty file, with normal file name, second one is file with ".opdownload" extension and third one is file with normal file name and non-empty content.
My question is - why Opera creates first entry, just after download begins? Or maybe I don't understand something in Window's file system?
-
mrozigor last edited by
Sorry, I didn't make myself clear - when debugging my app I see, that three entries are created as described above.
-
Deleted User last edited by
when debugging my app I see, that three entries are created as described above
We dont know what you mean by app and what it does and how you debug it. Not much information to help you!
-
mrozigor last edited by
In know, that .opdownload is unfinished download. In Java I have WatchService and after download begins, service give me path to two files - one with .opdownload extension and one with "normal" extension (so it looks like file I'm looking for, but file is empty, doesn't have modification time etc. - it looks like Opera only create path to this file). Then after download finishes service give me third path to downloaded file.