# Testing a VFS item

An item that points at storage elsewhere depends on an address, a login and a network path, and any of them can be wrong. **Test** tries the item from the server and says what happened, before a user finds out.

## Where

**Test** is in **VFS Item Properties**, the dialog of a remote item in [the VFS editor](Users-Setup-VFS-Editor.md) of a user.

## What it does

The server connects to the item's address with the login that is filled in, as it would for the user, and lists the folder. The answer is a table:

| Column | Says |
|---|---|
| **VFS Item** | the item that was tried |
| **Result** | that it worked, or the error the other side gave |
| **Time taken** | how long it took |

A connection that cannot be made at all is reported as "Connection test failed", with the reason.

## Items that use the user's own login

When the address has `{username}` and `{password}` in it, the server has no password to try with: it is the one the user will type. The test then asks for them under **Enter Credentials**, with **Username** and **Password**. Give the login of a real account on the other system. What you type is used for this test only.

## Reading the result

| The result | Look at |
|---|---|
| a time-out, or "connection refused" | the host name and the port; whether the server machine may reach it at all. The [Telnet client](Admin-Telnet.md) of Server Admin answers that. |
| a login that is refused | the user name, the password, the key; whether the account is allowed to come from the server's address |
| a certificate that is not trusted | the other side's certificate. See the trust settings in [Encryption](Prefs-Encryption.md). |
| a path that is not found | the folder at the end of the address |
| it works, and slowly | **Time taken**: the distance to the other system, or a slow login there |

The test runs on the server. That it works from your own machine says nothing: the server may sit behind another firewall.

After a change, press **Test** again before **OK**, and **Save** the user.
