File Operations
File operations move data across the boundary between your Vault and a virtual machine's filesystem. The Vault holds individually encrypted files; a VM holds a mounted filesystem. Every transfer described here is a crossing between those two, and each crossing is a point where data changes custody.
Why the boundary exists
The two sides encrypt differently. Vault files are encrypted individually and are decrypted when you download them. A drive is encrypted as a block device and is decrypted when it is mounted. There is no shared filesystem underneath, so data cannot appear on both sides on its own. It has to be transferred, and the transfer is where the re-encryption happens.
Crossing requires permission on both sides. A transfer needs the VM-level file transfer permission to start and the main-system Vault permission to complete. A user who is the Owner of a VM with full permissions inside it will still fail to write to the Vault if they lack the main-system permission to do so. The VM grants the ability to initiate the transfer; the main system gates whether it lands.
That is deliberate, not friction. Data leaving the enclave is exactly the event compliance regimes care about. Making it an explicit, doubly-gated action is what makes it auditable, and it is why there is no transparent sync between the Vault and a running machine.
Before you begin
- The VM is running and you can connect to it.
- You have the VM permission for the direction you need: VM to Vault transfer to move files into the Vault, Vault to VM transfer to move files into the VM. The File Transfer and File Explorer cards open with any one of Files, VM to Vault transfer, or Vault to VM transfer, and viewing a file inside the VM needs Files.
- The VM's home drive is mounted. Until it is, the cards stay disabled.
- You have the corresponding read or write permission in the Vault.
Move Files from Your Computer into a VM and Back
A file reaches a virtual machine by one of two routes: through the Vault, or over SFTP straight into the VM. A file leaves a virtual machine by one route only, through the Vault.
The following table describes the ways to move files.
| Route | Method | Where you start it | What to know |
|---|---|---|---|
| Into the Vault | Upload | Vault > Upload Files, or drag files onto a Vault folder | Sends files from your computer. |
| Into the Vault | Transfer window | Vault > Transfer files between My Vault and My Computer | Sends files from your computer. Needs tiCrypt Connect. |
| Into the Vault | Cloud service | Vault > Add new cloud service | Pulls files from Box, Dropbox, Google Drive, or OneDrive. Needs tiCrypt Connect. |
| Into the Vault | SFTP server | Vault > Connect to SFTP server | Pulls files from a server where you have an account. Needs tiCrypt Connect. |
| Into the Vault | Inbox | Vault > Inboxes > Create inbox | Receives files from people without a tiCrypt account, by web link or SFTP. |
| Vault to VM | File Transfer | File Transfer on the running VM | Needs the VM permission Vault to VM transfer. |
| Directly into a VM | SFTP to VM | SFTP to VM on the running VM | Skips the Vault and goes one way, into the VM. Needs tiCrypt Connect, the VM permission SFTP Access, and Remote application access. |
The route through the Vault has two legs into a VM and two legs out. Each leg is a separate action with its own permission. The following table describes the four legs.
| Leg | Where you do it | VM permission | System permission |
|---|---|---|---|
| Computer to Vault | Vault > Upload Files | None | Upload file content (needed to upload) |
| Vault to VM | File Transfer on the running VM | Vault to VM transfer | Transfer files from the Vault to VMs |
| VM to Vault | File Transfer on the running VM | VM to Vault transfer | Transfer files from VMs to the Vault |
| Vault to computer | Vault > Download | None | Download the content of files they can access |
Both VM legs also need the system permission Let their VMs transfer files straight to their Vault, because the VM carries out the transfer for you with a limited session. Each leg needs further Vault permissions alongside the one named in the table. For the full sets, see Permissions That Work Together.
The VM Owner, a Co-owner, or a Manager grants the VM permissions. See VM User Management. An administrator grants the system permissions.
Bring files into a VM
- Go to the Vault icon in the top left panel and open the folder that receives the files.
- Click Upload Files, select Files or Directories, choose the items on your computer, and click Upload in the prompt. For more information, see Upload.
- Go to the Virtual Machines icon, click the VMs section, and click the running virtual machine.
- Click the File Transfer option in the center.
- In the VM panel, open the destination folder: your home directory, or an access directory where you can write.
- Drag the files from the Vault panel to the VM panel.
- In the Transfer
file-nametovm-name? pop-up, review the Transfer preview and click Transfer.
The files are on the VM's drive, in the folder you opened, and every program in the VM that runs as you can read them. The Vault keeps its own copy.
Take files out of a VM
- Open the running virtual machine's File Transfer window, as in steps 3 and 4 above.
- In the Vault panel, open the folder that receives the files.
- Drag the files from the VM panel to the Vault panel, or select them in the VM panel and click Transfer to Vault.
- In the Transfer
file-nameto the Vault? pop-up, review the Transfer preview and click Transfer. - Go to the Vault icon, select the files, and click Download.
- In the prompt, select the destination on your computer and click Download. In a web browser, use Open full menu > Download via Browser instead. For more information, see Download.
The files are on your computer. The Vault and the VM's drive keep their copies.
A file downloaded to your computer is decrypted and is no longer protected by tiCrypt. Store it according to the rules of your project.
Where files land in the VM
A transfer into a VM writes the files as your VM account, so the destination must be a folder where that account can write. The following table describes those folders.
| Destination | Linux VM | Windows VM |
|---|---|---|
| Your home directory | /drives/drive1/home/ followed by your account name | D:\Users\ followed by your account name |
| An access directory | A folder on a drive under /drives/ | A folder on a drive, such as E:\shared |
An access directory accepts your files only when your ACL template on it allows writing, such as Read-write. To create your own folders outside your home directory, ask a manager of the VM to set up a parent folder for you. For more information, see Let VM Users Create Folders Outside Their Home.
A transfer can also stop for a reason that is not a permission:
- Project tags: a file tagged with a project is skipped on its way into a VM unless the project is the VM's project or a parent of it, and your membership in it is active.
- Download restrictions: a project can restrict your downloads, and the owner of a shared file can set Cannot download on your share. tiCrypt then refuses the last leg.
- Storage allowance: a transfer into the Vault is checked against your storage allowance, the same as an upload.
- Name collisions: an upload or a transfer does not overwrite a file. A file whose name already exists at the destination is renamed.
Transfer Files from a Virtual Machine into the Vault
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to transfer files from.
- Click the File Transfer option in the center.
- In the new window, drag-and-drop the files from the right panel (the virtual machine) to the left panel (the Vault). Alternatively, select the files in the VM panel and click Transfer to Vault.
- In the Transfer
file-nameto the Vault? pop-up, review the Transfer preview and click Transfer. - Once done, click Close.
The task Transferring from vm-name to Vault copies the
files into the Vault folder you dropped them on.
Transfer Files from the Vault into a Virtual Machine
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to transfer files to.
- Click the File Transfer option in the center.
- In the new window, drag-and-drop the files from the left panel (the Vault) to the right panel (the virtual machine). Alternatively, open the destination folder in the VM panel, select the files in the Vault panel, and click Transfer.
- In the Transfer
file-nametovm-name? pop-up, review the Transfer preview and click Transfer. - Once done, click Close.
The task Transferring from Vault to vm-name writes the files into the
VM folder you chose.
The File Transfer window
The File Transfer window reads "Transfer files between My Vault and vm-name". It
shows the Vault in one panel and the VM in the other. Change layout switches between a
side-by-side and a stacked split; on screens narrower than 1000 pixels the panels start stacked.
The window remembers the split sizes and the folders you had open.
When several files are selected, the pop-up title gives their number and total size instead of a file name. A file whose name already exists at the destination is renamed automatically.
Some files are not transferred into a VM:
- Project membership: a file tagged with a project in which your membership is not active is skipped.
- Project compatibility: a file whose project is neither the VM's project nor a parent project of it is skipped.
If the Vault does not have room for the files, the pop-up shows "Upload not allowed: Available space is X bytes but you need Y bytes". Transferring into a group folder in the Vault opens a further Share files? pop-up.
Some drops are refused. The following table describes the messages.
| Message | Meaning |
|---|---|
You cannot put files here because drive-name is read-only | The destination drive is attached read-only. |
| You cannot upload files directly to a VM | Files dragged from your computer cannot be dropped on a VM. Upload them to the Vault first. |
| Cannot move files to the same location | The files are already in the destination folder. |
| You cannot drag files between different VMs | Files cannot be dragged from one VM to another. Transfer them through the Vault. |
| You cannot drag files between drives | Inside a VM, files can be moved only within the same drive. |
Cannot move folder-name into itself or one of its subfolders | The destination is inside the folder being moved. |
| You lack permission to transfer files from this VM to Vault | You do not have VM to Vault transfer. |
| You lack permission to transfer files from Vault to this VM | You do not have Vault to VM transfer. |
Transfer files as Admin or Root
Some VM Controllers support elevated file access. On those VMs the running VM panel also shows File Transfer (as Admin/Root) and File Explorer (as Admin/Root). They are enabled only if you have Sudo (Admin) Access and one of the file permissions. They work like the ordinary cards, but every operation runs as the VM's root user, so the VM panel starts at "Root /". In the elevated File Transfer window, the Vault panel also lists VM Drives. On these VMs, Attach/mount drives appears only in the elevated File Explorer.
Explore Files in a Virtual Machine
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine whose files you want to explore.
- Click the File Explorer option in the center.
- Explore the drives and access directories of the virtual machine.
The File Explorer opens on the VM's file system. The sidebar lists the drives and access directories you can see, and the main area lists the files of the folder you select.
File Explorer layout
The File Explorer header reads "VM /" followed by the path of the current folder. It offers Refresh and, on drives you can write to, New directory. Previous returns to the previous panel.
The sidebar lists Drives & ADs, with Refresh drives and access directories. Managers of the VM who have the VM permission Drives and the system permission Attach drives to VMs also see Attach/mount drives. For more information, see Create and Manage Drives.
The Table settings button switches between Grid view, Table view, and Compact table view, and its Pin left column keeps the first column in sight in the table views. The table views have the columns Name, Modified, and Size. The first click on Modified sorts newest first. An empty folder reads "Empty Directory". Hidden files are not shown.
You can move through the list with the keyboard: arrow keys move, Enter opens, Space selects, Ctrl or Cmd adds an item to the selection, and Shift selects a range.
Right-clicking or dragging an item that is not selected selects only that item, so the menu or the drop acts on that item alone. To act on several items, select them first, then right-click or drag one of the selected items.
Act on selected files
Select one or more items to see the actions for them:
- View: opens one file. Requires the VM permission Files. Double-clicking a file does the same. An empty file shows "File is empty". A file larger than 1 GiB, or a link to one, is not opened: tiCrypt shows "File is too large to view".
- Rename: renames one item on a drive you can write to. In the Rename
item-namepop-up, enter the New Name and click Rename. The name must differ from the current name and from the other items in the folder, is limited to 80 characters, and may not contain any of/ \ | " : * ? < > { }or NUL. A folder that is an access directory, or holds one, cannot be renamed, because the access directory would point at a folder that no longer exists: tiCrypt shows "You cannot rename" followed by the folder name "because it is or contains" the access directory. If a rename fails, an error says so with the reason. - Create symlink: creates a symbolic link to one item on a drive you can write to. In the Create symbolic link for
item-namepop-up, enter the Link Name, choose the folder, and click Create symlink. - Compute disk usage: computes the size of the selected items. The task reads "Scanning files and directories".
- Export annotations: exports the annotations of the selected videos. Shown when a selected file has annotations. For more information, see Advanced Operations.
- Permanently delete: deletes the items from a drive you can write to. The Delete
item-name? pop-up warns "This action is permanent and cannot be undone." A folder that contains access directories cannot be deleted.
Permanently delete removes the files from the drive, and the deletion cannot be undone.
Act on folders in the sidebar
Right-click a folder in the Drives & ADs tree to see the actions for it:
- Create subdirectory: in the Create a new subdirectory in
folder-nameonvm-namepop-up, enter the Directory Name and click Create directory. The folder is created as your VM account, so this works in your home directory and in an access directory where you can write. For more information, see Let VM Users Create Folders Outside Their Home. - Rename and Delete: rename or delete the folder. Not offered on the root of a drive. A folder that is an access directory, or holds one, cannot be renamed, and cannot be deleted as a folder while the access directory exists.
- Unmount and detach: unmounts the drive and detaches it from the VM. Offered on the root of a drive.
- Edit access directory and Delete: edit or delete an access directory. Offered to managers on the root of an access directory.
- Make access directory: turns the folder into an access directory. Offered on folders that are not already inside an access directory. For more information, see Groups and ACLs.
- Compute disk usage: computes the size of the folder.
Perform an SFTP to VM Transfer from a Local Machine to a Virtual Machine
bulk-action
- Go to the Virtual Machines icon in the top left taskbar.
- Click the VMs section on the top left panel.
- In the left panel, click the virtual machine to transfer files to.
- Click the SFTP to VM option in the center.
- In the Transfer files to
vm-namevia SFTP pop-up, click Copy to copy the username, password, host, and port to your SFTP client.
Your SFTP client connects to the VM through the tunnel that the Connect application opened on your
computer, at sftp://127.0.0.1 on the port shown.
The SFTP to VM card appears only when the VM offers SFTP and you have the VM permission SFTP Access. It is enabled only if you also have Remote application access, because the connection runs through the same tunnel as the remote desktop. The ⋮ menu next to a running VM in the left panel offers the same action as Open SFTP pathway.
Every time you open the pop-up, tiCrypt sets a new password, so copy it again each time. The pop-up notes: "In order to transfer files you will need an SFTP client. Please note that FileZilla might not work with tiCrypt because of the strict port range requirements." It lists these values, each with a copy button:
- Username: your username on the VM.
- Password: the password for this connection.
- Host:
sftp://127.0.0.1. - Port: the local port of the tunnel.
- LFTP Command: a command for the LFTP client that connects and mirrors a local folder to the VM.
- MAC/Linux SSHFS: a command that mounts your VM home directory on macOS or Linux.
- Windows SSHFS: the network path to enter in Map network drive on Windows.
If the VM does not forward the SFTP port, tiCrypt shows "This VM does not support SFTP". If the tunnel cannot be opened, it shows "Forwarding failed".
For the exact LFTP (a command-line file transfer client) and SSHFS commands, visit the Remote File System section.