UFO: Manage locked and cached files

The Universal File Opener (UFO) is a Google Chrome extension. It enhances the Google Drive and AODocs experience by allowing you to:

  • open non-Google files locally on your computer using the corresponding software
  • save the changes you made locally back to Google Drive or AODocs

This article explains how to manage locked and cached files with UFO. 

Lock files
 View your locked and cached files
Manage your cached files
Unlock files manually
Automatic lock expiration
Access files offline


Lock files

When you open a file locally with UFO, it is locked by you. Nobody else can edit a file you have locked.

Important:
- The file is locked for one hour.
- Saving your file in your local software extends the lock by an additional hour.

image01.png

If you try to open a file that has been locked by another user, a pop-up indicates who has locked the file. You can choose to open the file locally in read only. 

image02.png


View your locked and cached files

1. In Google Drive or AODocs, select the UFO extension button on the Chrome bar.

2. If you have one or more files in your cache, the list of cached files is displayed.

Notes:
- By default, cached files are sorted by the last modification date. You can sort your cached files by their name, last modification date or size.
- If you have no files in your cache, the status of the UFO extension is displayed.

3. Check the file icon to see its lock status:

image13.jpg

Red padlock
The file is locked by you. Only you can edit the file.

image04.jpg

Gray padlock
The file is locked by another user. The email address of this user is displayed when you hover over the file icon. Only the user who locked the file can edit the file.

  image08.png

No padlock
The file is unlocked. You can lock it by opening it locally.

 

image03.png

4. Select the name of a file that isn’t locked by another user to open and edit it locally.

  • If you open a cached file that hasn't been edited by another user, the file is opened directly from your cached files.
  • If you open a cached file that has been edited by another user, the file is downloaded again to your cached files.


Manage your cached files

When you open a file with UFO, the file is stored in a local repository known as cached files. The default location for the cached files is:

  • On your PC:
    C:\Users\<LocalUser>\.syncclient\<uniqueID>\youremailaddress@domain.com 
  • On your Mac:
    /Users/<LocalUser>/.syncclient/<uniqueID>/youremailaddress@domain.com

Note: When you initialize the UFO extension, a cleanup of your cache is performed:
- if your cache contains more than 100 files, the least recently modified files are removed (the cache contains a maximum of 100 files)
- files that haven't been modified in the last 30 days are removed

1. Press the Locate in Google Drive button on the right of the file name to open the parent Google Drive folder of the file in a new tab.

2. Press the Remove button to remove the file stored locally in your cached files. Press Delete stored files to remove all the cached files.

3. Press the View details button to display additional information about the file and its lock.

Notes:
- If you remove a locked cached file, the lock is released.
- You can’t remove a cached file if it is open in your local software.

image04.png

4. Press Back to display the status of the UFO extension.

image05.png


Unlock files manually

You can only unlock files that you have locked:

1. From the cached files list, press the red padlock of a file to unlock it. 
A confirmation window opens.

2. Press Yes.

Note: Removing a file locked by you from the cached files releases its lock.

Important:
- Saving and closing the file in your local software doesn’t unlock your file automatically.
- You can remove a lock even if your document is open in your local software.

image06.png


Automatic lock expiration

A lock on a file expires after one hour, even if the file is still open in your local software. When the lock expires, any contributor of the library can lock the file and edit it.

If a lock expires and you try to save a file that’s still open in your local software:

  • Your changes are saved in Google Drive or AODocs if the file isn’t locked by another user and hasn’t been modified since you opened it.
    The file is automatically locked again by you when you save.
  • Your changes aren’t saved if the file is locked by another user.
    A pop-up opens, to prompt you to save a copy of your file in another location on your computer. You can then manually merge your changes later.

image07.png

  • The changes aren’t saved if the file is unlocked but has been modified by another user since you last opened it. The Conflict resolution pop-up opens. Press More. You can choose to:
    • Overwrite the current Google Drive file with your changes
    • Discard your changes and get the latest version from Google DriveIf you choose to discard your changes, you can first save a copy of your file on your computer and then manually merge your changes later.

image08.png


Access files offline

In Google Drive

1. In the Google Drive settings, while still online, make sure offline access is enabled. Learn more about using Google Drive files offline

2. When offline, access Google Drive.

3. Press the UFO extension button. The list of files available in your cache appears.

4. Select a cached file to open it locally in read only.

image09.png

5. If you edit the file, you can’t save your changes in the same cached file. You can save a copy of the file on your local computer. Any changes you make won’t be automatically synchronized when you go back online. You can manually merge your changes later.

In AODocs

1. When offline, access AODocs.

2. Press the UFO extension button. The list of files available in your cache appears.

3. Select a cached file to open it locally in read only.

image10.png

Was this article helpful? 0 out of 0 found this helpful
If you didn’t find what you were looking for, don’t hesitate to leave a comment!
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.