Hi!
I am downloading several files from the Internet using http->get(). Sometimes I get empty file (either because of a server timeout, wrong URL, port blocking, strange rewrite rules on the server,...). When I close the application I set to delete all the downloaded files and remove the dir. where I saved them. But those files with zero size can not be deleted. It seems they are not closed. How can I close them? Simple file.close() does not work.
Bookmarks