Esplorare file su un server o una condivisione di rete

È possibile connettersi a un server o a una condivisione di rete per esplorarne e visualizzarne i file come se fossero sul proprio computer. Un modo comodo per scaricare o caricare file tramite Internet o per condividerli con altre persone sulla rete locale.

To browse files over the network, open the Files application from the Activities overview, and click Other Locations in the sidebar. The file manager will find any computers on your local area network that advertise their ability to serve files. If you want to connect to a server on the internet, or if you do not see the computer you’re looking for, you can manually connect to a server by typing in its internet/network address.

Connettersi a un server di file

  1. In the file manager, click Other Locations in the sidebar.

  2. In Connect to Server, enter the address of the server, in the form of a URL. Details on supported URLs are listed below.

    If you have connected to the server before, you can click on it in the Recent Servers list.

  3. Click Connect. The files on the server will be shown. You can browse the files just as you would for those on your own computer. The server will also be added to the sidebar so you can access it quickly in the future.

Writing URLs

A URL, or uniform resource locator, is a form of address that refers to a location or file on a network. The address is formatted like this:

scheme://servername.example.com/folder

The scheme specifies the protocol or type of server. The example.com portion of the address is called the domain name. If a username is required, it is inserted before the server name:

scheme://username@servername.example.com/folder

Some schemes require the port number to be specified. Insert it after the domain name:

scheme://servername.example.com:port/folder

Below are specific examples for the various server types that are supported.

Tipi di server

You can connect to different types of servers. Some servers are public, and allow anybody to connect. Other servers require you to log in with a username and password.

È possibile non avere i permessi per compiere determinate azioni sui file di un server. Per esempio, è molto probabile che su server FTP pubblici non sia possibile eliminare file.

The URL you enter depends on the protocol that the server uses to export its file shares.

SSH

If you have a secure shell account on a server, you can connect using this method. Many web hosts provide SSH accounts to members so they can securely upload files. SSH servers always require you to log in.

A typical SSH URL looks like this:

ssh://username@servername.example.com/folder

When using SSH, all the data you send (including your password) is encrypted so that other users on your network can’t see it.

FTP (con login)

FTP è un metodo popolare per lo scambio di file su Internet. Poiché il traffico FTP non è cifrato, diversi server forniscono accesso tramite SSH. Altri, tuttavia, permettono ancora, o addirittura richiedono, l'uso di FTP per il caricamento e lo scaricamento di dati. Server FTP con credenziali di accesso permettono solitamente l'eliminazione e il caricamento di file.

A typical FTP URL looks like this:

ftp://username@ftp.example.com/path/

FTP pubblico

Sites that allow you to download files will sometimes provide public or anonymous FTP access. These servers do not require a username and password, and will usually not allow you to delete or upload files.

A typical anonymous FTP URL looks like this:

ftp://ftp.example.com/path/

Some anonymous FTP sites require you to log in with a public username and password, or with a public username using your email address as the password. For these servers, use the FTP (with login) method, and use the credentials specified by the FTP site.

Condivisione Windows

I computer Windows utilizzano un protocollo proprietario per condividere file su una rete locale. Computer collegati a una rete Windows sono solitamente raggruppati in domini per una migliore gestione e organizzazione degli accessi. Se sono a disposizione i permessi corretti sul computer remoto, è possibile connettersi a una condivisione file di Windows dal gestore di file.

A typical Windows share URL looks like this:

smb://servername/Share

WebDAV e WebDAV sicuro

Based on the HTTP protocol used on the web, WebDAV is sometimes used to share files on a local network and to store files on the internet. If the server you’re connecting to supports secure connections, you should choose this option. Secure WebDAV uses strong SSL encryption, so that other users can’t see your password.

A WebDAV URL looks like this:

dav://example.hostname.com/path

NFS share

UNIX computers traditionally use the Network File System protocol to share files over a local network. With NFS, security is based on the UID of the user accessing the share, so no authentication credentials are needed when connecting.

A typical NFS share URL looks like this:

nfs://servername/path