Hello,
I noticed that these TMP files are regulary created by Visual Studio 2019. The question is why the original file disappears and is not accessible again until the drive is remounted. Such behaviour does not appear when accessing files on local drives.
Log files don’t contain anything when this happen. The file is updated for the last time when drive is remounted:
2021-03-10 08:41:27.166 [INFO] CONTROLLER: DriveName : Disconnect Drive Start : Type : SFTP
2021-03-10 08:41:27.166 [INFO] SFTP (DriveName) : Check Change Thread Finished
2021-03-10 08:41:27.166 [INFO] SFTP (DriveName) : Drive Stop
2021-03-10 08:41:27.166 [INFO] SFTP (DriveName) : Drive Stopped
2021-03-10 08:41:27.169 [INFO] FILESYSTEM : DriveName : Delete MountPoint M: Success
2021-03-10 08:41:30.417 [INFO] FILESYSTEM : DriveName : Force Unmount Media Success
2021-03-10 08:41:30.426 [INFO] FILESYSTEM : DriveName : Delete Storage Success
2021-03-10 08:41:30.426 [INFO] FILESYSTEM : DriveName : Unmount Process Done
2021-03-10 08:41:30.558 [INFO] SFTP (DriveName) : Drive Closed
2021-03-10 08:41:30.558 [INFO] CONTROLLER: DriveName : Close Drive : Drive Close Done : Type : SFTP
2021-03-10 08:41:30.560 [INFO] CONTROLLER : DriveName : Disconnect Drive Done : Type : SFTP
2021-03-10 08:41:32.815 [INFO] CONTROLLER: DriveName : User Cache Folder : C:\ProgramData\OpenBoxLab\RaiDrive\Cache\aded816d-da57-4413-924a-93e61e4c2844
2021-03-10 08:41:33.823 [INFO] Lambda Drive Changes Configuration loaded successfully
2021-03-10 08:41:33.823 [INFO] SFTP (DriveName) : Background Folder Refresh : True
2021-03-10 08:41:33.823 [INFO] SFTP (DriveName) : Drive Created
2021-03-10 08:41:33.823 [INFO] CONTROLLER: DriveName : Remote Drive Make Success
2021-03-10 08:41:34.743 [INFO] SFTP API : DriveName : AUTH RESULT : Protocol Version : 3 : ServerType : Unix : BaseInfo : True : Welcome : SSH-2.0-OpenSSH_7.9p1 Raspbian-10+deb10u2
2021-03-10 08:41:35.286 [INFO] SFTP API : DriveName : Data Connection Created
2021-03-10 08:41:35.286 [INFO] CONTROLLER: DriveName : Remote Drive Authentication Success
2021-03-10 08:41:35.287 [INFO] CONTROLLER: DriveName : Create Success
2021-03-10 08:41:35.287 [INFO] FILESYSTEM : DriveName : INIT DONE : DriveLetter : M:, IsNetwork : True, IsGlobal : False, IsReadOnly : False, UseRecyble : True
2021-03-10 08:41:35.287 [INFO] CONTROLLER: DriveName : Init Success
2021-03-10 08:41:35.287 [INFO] FILESYSTEM : DriveName : MOUNT STATE : DriveLetter : M:, IsNetwork : True, IsGlobal : False, IsReadOnly : False, UseMountManager : False
2021-03-10 08:41:35.295 [INFO] FILESYSTEM : DriveName : CreateStorage Success
2021-03-10 08:41:35.299 [INFO] FILESYSTEM : DriveName : Get Volume Label : DriveName
2021-03-10 08:41:35.302 [INFO] FILESYSTEM : DriveName : MountMedia Success
2021-03-10 08:41:35.306 [INFO] FILESYSTEM : DriveName : MountPoint Add M: Success
2021-03-10 08:41:35.306 [INFO] CONTROLLER: DriveName : Mount Success
2021-03-10 08:41:35.306 [INFO] CONTROLLER: DriveName : Drive Connect Success
2021-03-10 08:41:35.873 [INFO] SFTP (DriveName) : Check Change Thread Start
This appears in Process Monitor when such file is tried to be opened in Total Commander (I replaced confidential information with “path”):
9:11:52,9682100 TOTALCMD64.EXE 10120 CreateFile \RaiDrive\path SUCCESS Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
9:11:52,9683147 TOTALCMD64.EXE 10120 QueryDirectory \RaiDrive\path\Calibration.h~RF53a85dd.TMP SUCCESS Filter: Calibration.h~RF53a85dd.TMP, 1: Calibration.h~RF53a85dd.TMP
9:11:52,9685872 TOTALCMD64.EXE 10120 CloseFile \RaiDrive\path SUCCESS
9:11:52,9703737 TOTALCMD64.EXE 10120 CreateFile \RaiDrive\path\Calibration.h~RF53a85dd.TMP NAME NOT FOUND Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a
9:11:52,9708269 TOTALCMD64.EXE 10120 CreateFile \RaiDrive\path\Calibration.h~RF53a85dd.TMP NAME NOT FOUND Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
9:11:52,9719448 TOTALCMD64.EXE 10120 CreateFile \RaiDrive\path\Calibration.h~RF53a85dd.TMP NAME NOT FOUND Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, AllocationSize: n/a
9:11:52,9729953 TOTALCMD64.EXE 10120 CreateFile \RaiDrive\path\Calibration.h~RF53a85dd.TMP NAME NOT FOUND Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, AllocationSize: n/a
9:11:52,9734310 TOTALCMD64.EXE 10120 CreateFile \RaiDrive\path\Calibration.h~RF53a85dd.TMP NAME NOT FOUND Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
9:11:52,9737987 TOTALCMD64.EXE 10120 CreateFile \RaiDrive\path SUCCESS Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
9:11:52,9738851 TOTALCMD64.EXE 10120 QueryDirectory \RaiDrive\path\Calibration.h~RF53a85dd.TMP SUCCESS Filter: Calibration.h~RF53a85dd.TMP, 1: Calibration.h~RF53a85dd.TMP
9:11:52,9740155 TOTALCMD64.EXE 10120 CloseFile \RaiDrive\path SUCCESS
9:11:55,1279420 TOTALCMD64.EXE 10120 CloseFile \RaiDrive\path SUCCESS