Xojo2021r2.1, MBS 23.3, Windows 11.
Most of the time this function returns True, but some small percentage of tries it returns False. What could cause this? File busy or something?
Xojo2021r2.1, MBS 23.3, Windows 11.
Most of the time this function returns True, but some small percentage of tries it returns False. What could cause this? File busy or something?
There are a ton of reasons:
Thanks, Christian. I should have mentioned that this code has been working for years and thousands of uploads without issue, so I suspect some recent Windows update may be having an effect.
I’ll keep looking into the other possibilities.
Does windows have some sort of equivalent of search indexing? Perhaps that has been enabled by an update and thus opening the file for indexing when you are attempting to do so. I know macOS has issues like that from time to time.
You can always use a binary stream, read the whole file in a string and pass it to InputData property.
Well my app already retries if an upload fails for other reasons, so for now I’m just going to ignore this and let it re-try