We are using NetDrive to mount a WebDAV volume (read-only). It is working well with static files, but we’re having some issues with growing files.
Some of our files are growing files (growing on the server, append-only). It seems that if a client using netdrive has an open file handle, it’s size will not update. Looking in windows explorer, the file is growing. Once all file handles to a file are closed, the file size updates correctly again.
To explain on a more technical level, none of the file-level functions to get file size (GetFileSize*, GetFileAttributes*, fseek/ftell, stat/_stat*) return the updated size while there’s an open file handle. The only function that returns the updated size is on the directory level (FindFirstFileW). Our clients use applications (e.g Premiere Pro) that depend on the file size changes to be reflected on the file level functions. This is also how SMB/CIFS volumes behaves in windows.
Could you help us resolve this issue?
Edit: Do I need to create a new post now that this has been locked? I was really hoping to get some help here.