Hi,
I have an app that downloads an image from a server every few minutes and displays it in the background. I use network.download(), ‘appname_bg.jpg’ as the filename and system.TemporaryDirectory for basedir.
Problem is, only the first image gets downloaded. On the next download I get “Failed to rename temp download file to final download file” error. I tried to remove it manually using os.remove() but it seems the file remained opened by some process because I get a “Permission denied” error on that line.
I spent a lot of time solving it but now I am stuck. Any ideas?
Regards,
Peter