blitzget issues..
BlitzPlus Forums/BlitzPlus Programming/blitzget issues..
| ||
I have this weird bug with BlitzGet when i use it to download a file even if I change the file it downloads the unchanged file, for example if I have a file called Xnumber.txt and it has a 2 inside the file and I replace it with a file of the same name but put 3 instead of 2 it will download the file with a 2 until I clear my internet cache. Anyone have any ideas on how to fix this? |
| ||
for some reason its using cached files instead of getting the new files. |
| ||
Maybe you could delete the cached file in code ? What folder are the downloads in ? Is that the same folder as SystemProperty$("tempdir") ? |
| ||
from what I can tell no tempdir is where programs install temp files to. There is a Temporary Internet Folder but i cannot remove the folder without deleting everything inside it. |
| ||
Hmm .. there is an API called SHGetFolderPathA, with which you can obtain certain other folders in Windows. You need to put a 'decls' file in the programfiles\blitz\userlibs folder. You can maybe try this code, but I'm not sure if it finds the right directory. Also, I didn't test if it can delete files from that directory with DeleteFile. |