When the file is being written to the disk, does the Windows System already consider the file exists or it waits until the writing process is done?
Basically, I have a script that checks if a directory has newly added files per minute. If there's one, I programming upload it to an API endpoint. But the problem now is that the file being uploaded is incomplete for some reason.
I'm trying to figure out if Windows consider the file exists even if it's not done writing. I assume it only shows there after it's done writing, but I'm not sure.
File System: NTFS