Files Not Yet Uploaded to the Drive¶
When a program saves a file on a RaiDrive drive, the save finishes on your PC first. RaiDrive then uploads the file to the storage in the background. Until the upload ends, the latest content exists only on this PC, in RaiDrive's cache.
So that you do not lose these changes, RaiDrive warns you in three cases:
- You disconnect a drive or exit RaiDrive while files on it are in use.
- You shut down, restart, or sign out of Windows before the uploads end.
- The storage refuses an upload.
Disconnect or exit with files in use¶
When you click Disconnect on a drive, RaiDrive checks the files on the drive first. The same check runs when you click Exit in the tray menu and answer Yes to disconnect all connections. If files are still in use, a dialog lists them.
The title shows the number of files, for example Files In Use: 3. The files are grouped by state. The program that uses each file is in parentheses.
| State | Meaning |
|---|---|
| Modified, not yet uploaded | A program changed the file. RaiDrive has not uploaded the change yet |
| Uploading | RaiDrive is uploading the file now |
| Waiting to upload | The file waits for its turn to upload |
| Open | A program has the file open for writing. There is nothing to upload yet |
Choose a button:
- Cancel — keeps the drive connected. Wait until the uploads end, or close the file in its program. Then try again.
- Process Monitor — opens the Process Monitor and keeps the drive connected. It shows the same files and the upload progress. The button appears only if your plan includes the Process Monitor and Monitor process access to files is on for the drive.
- Disconnect — disconnects the drive now. If you came from Exit, RaiDrive disconnects all drives and then exits. Changes that are not uploaded yet can be lost.
Windows shutdown is blocked¶
If changed files are not uploaded yet, RaiDrive stops Windows from shutting down, restarting, or signing out. Windows then shows a screen that lists RaiDrive Mount with one of these reasons:
| Reason | Meaning |
|---|---|
| Files not yet uploaded to the drive: 2 | RaiDrive still has 2 changed files to upload |
| 2 files were not saved to the drive | The storage refused 2 uploads — see Upload failed |
| Could not check for files not yet uploaded to the drive | RaiDrive did not answer in time. It blocks the shutdown to be safe |
To shut down without losing changes:
- On that screen, cancel the shutdown. Windows returns to your desktop.
- Open the Process Monitor. Wait until RaiDrive finishes the uploads. A closed file disappears from the list when its upload ends.
If your plan does not include the Process Monitor, click Disconnect on the drive instead. If the Files In Use dialog appears, click Cancel, wait, and try again.
- Shut down Windows again.
If the reason is about files that were not saved, waiting does not help. Copy the files first — see Upload failed.
If you shut down anyway, the changes that are not uploaded can be lost. A file that is only open for writing, for example a document you did not change, does not block the shutdown.
Upload failed¶
Sometimes the storage refuses an upload — for example, when you have no permission for the folder or the storage is full. The file is then not saved on the storage. The changes stay only in RaiDrive's cache on this PC.
RaiDrive shows this in three places:
- a dialog for the drive, with the files and the time of each failure
- an exclamation mark on the RaiDrive icon in the system tray
- a warning icon on the drive in the drive list
To keep the changes:
- Click the folder icon next to a file. File Explorer opens the folder of the file.
- Copy the file to another drive, for example your local disk (C:).
- Click OK to close the dialog.
You cannot rename or move these files within the same drive.
The dialog closes, but the warning stays. To see the list again, click the RaiDrive icon in the system tray or the warning icon on the drive. If the file was uploaded later or deleted, the warning disappears the next time you open the list.
Disconnecting loses the changes
When you disconnect a drive with failed files, RaiDrive deletes the changes from its cache. Before that, it asks: Disconnecting will permanently lose the unsaved changes. Copy the files to another drive first. Disconnect anyway? Copy the files first. RaiDrive does not ask when it disconnects the drive itself, for example when you sign out of RaiDrive or the app lock starts.