Notes from the workbench

How to connect to an SMB share, a NAS or a WebDAV server on a Mac

Connect your Mac to a NAS, a Windows share or a WebDAV server with Finder's Connect to Server, then keep the share in Branchway's sidebar and see why a copy failed.

· 6 min read

Branchway's Activity Log: a copy to a NAS share that stopped when the share went away, with the reason, what to try and the technical details.

The short answer: a Mac connects to SMB and WebDAV shares on its own. In Finder, choose Go › Connect to Server (⌘K), type an address such as smb://nas.local/Media, and sign in. If you use a share every day, Branchway keeps it in the sidebar, reconnects it after sleep, and keeps a log that says why a copy failed. Try Branchway free for 14 days.

The built-in way comes first. Branchway, our file manager for Mac, follows.

What address does a share have?

An SMB share’s address starts with smb:// and a WebDAV address starts with https://. Every share has an address made of a kind, a server and usually a folder:

  • SMB is what most NAS boxes and Windows PCs share files with. The address starts with smb://, then the server’s name or IP address, then the shared folder: smb://nas.local/Media or smb://192.168.1.20/Projects.
  • WebDAV shares files over the web. Many NAS boxes, file servers and hosted storage services offer it. The address starts with https:// (or http:// on a home network), and the server’s own settings page usually shows it.

If you do not know the address, look in the NAS’s settings page or ask whoever runs the server. On a home network the server’s name often ends in .local.

How do you connect to an SMB share in Finder?

Use Go › Connect to Server (⌘K), type the smb:// address and sign in as a registered user. Step by step:

  1. In Finder, choose Go › Connect to Server, or press ⌘K.
  2. Type the address, for example smb://nas.local.
  3. Click Connect.
  4. Choose Registered User and enter the user name and password for the share. Tick the box to remember the password in your keychain if you want macOS to keep it.
  5. Pick the shared folder you want and click OK.

The share opens in a Finder window and appears in the sidebar under Locations. To come back to it, open Go › Connect to Server again: the window keeps a list of recent servers, and the + button saves an address as a favorite.

Some servers announce themselves on the network. Those show up under Network in Finder’s sidebar, and you can click one to connect without typing the address.

How do you connect to a WebDAV server in Finder?

Use the same Connect to Server window with the server’s https:// address. Step by step:

  1. Choose Go › Connect to Server (⌘K).
  2. Type the server’s address, starting with https://.
  3. Click Connect and sign in.

The server opens as a folder. How fast it feels depends a lot on the server.

Where does the Finder way fall short?

Connect to Server works and costs nothing, but it does not reconnect a dropped share or keep a record of failed copies. A few things get in the way when a share is part of your day:

  • A share can drop when the Mac sleeps, the NAS sleeps or the Wi-Fi changes. You connect again by hand.
  • To have a share mounted when you log in, you add it yourself to System Settings › General › Login Items.
  • When a copy to a share fails, the message is short, and it is gone once you close it. There is no record of what happened.

If that is fine for you, stop here. If you copy to a NAS every day, read on.

What is the faster way to work with a NAS?

Save the share once in a file manager that keeps it in the sidebar and reconnects it after sleep. Branchway is our file manager for Mac. Since Branchway 1.0.4 it connects to SMB and WebDAV shares, and SFTP servers and S3 and Azure storage open as folders too.

Connect once, keep it in the sidebar

  1. Choose File › Connect to Server… or press ⇧⌘K.
  2. Pick SMB or WebDAV and enter the server’s address.
  3. Sign in. macOS handles the password.

Save the connection and it appears in the sidebar. You can also find it in ⌘K by its name, its server or its kind, so typing “nas” is enough to open it from anywhere.

A tab that holds a share shows a network icon, so you can tell it from a folder on your Mac, a cloud folder or an external drive.

Reconnect after sleep

Saved shares reconnect by themselves after the Mac wakes or Branchway relaunches. You do not go back to Connect to Server each morning. If you would rather connect by hand, turn this off in Settings › Integrations.

Copy and move with progress

Copies and moves to and from a share show their progress, and you can pause or cancel them. Big copies to a NAS take a while, so it helps to see where they are.

Deleting a file on a share asks first. A share has no Trash, so a deleted file cannot be put back, and Branchway says so before it does anything.

How fast a share feels depends on the network and the server. For WebDAV, it depends most of all on the server.

See why a copy or connection failed

The Activity Log in Branchway, with a failed copy to a NAS share opened to show the reason and what to try.

The Activity Log lists what happened in the current session: connections made and lost, and each copy, move, delete and rename. Open it with Window › Show Activity Log (⌥⌘0), the Activity Log button in the toolbar, or Show Log on an error message.

When something fails, its line gives the reason, the error code from macOS or the provider, and what to try. To send it to support, use Copy or Save as Text.

The log is kept for the current session only and is gone when you quit. It never holds passwords, keys or the contents of your files.

Copy a path from a share

Copy Path is on the right-click menu for files on shares, servers and cloud folders, the same as for files on your Mac. That is handy when you need to tell someone where a file sits on the NAS.

Which way should you use?

Finder for a share you open now and then, Branchway for one you use every day.

  • A share you open once in a while: Finder’s Connect to Server.
  • A NAS or file server you copy to every day, and want back after sleep without thinking about it: a saved share in Branchway.

Cloud folders work differently from shares. iCloud Drive, OneDrive and Google Drive are covered in the cloud folders help page. To see what fills a drive before you copy it to a NAS, read what’s taking up space on your Mac. For two folders side by side, one on the Mac and one on the share, see how to get a dual-pane file manager on a Mac.

Branchway runs on macOS 14 or later and costs $19 once at launch for one Mac. The trial is 14 days with every feature. After it, browsing, search and preview stay free, and copying and moving files need a license. Read the network shares help page or try Branchway free for 14 days.

Questions people ask

How do I connect to an SMB share on a Mac?

In Finder, choose Go › Connect to Server (⌘K), type the address, such as smb://nas.local/Media, and click Connect. Sign in as a registered user and pick the shared folder. In Branchway, choose File › Connect to Server… (⇧⌘K), pick SMB, and enter the server's address.

Can a Mac connect to a WebDAV server?

Yes. Finder's Connect to Server takes an http:// or https:// address for a WebDAV server. Branchway connects to WebDAV from File › Connect to Server… as well, and keeps a saved connection in its sidebar.

Why does my NAS disconnect after my Mac sleeps?

A network share can drop when the Mac sleeps, when the NAS sleeps, or when the network changes. In Finder you connect again by hand. Saved shares in Branchway reconnect by themselves after the Mac wakes, unless you turn that off in Settings › Integrations.

Do files deleted on a network share go to the Trash?

Not in Branchway. A share has no Trash there, so deleting a file on a share asks first, and a deleted file cannot be put back.

How do I find out why a copy to my NAS failed?

In Branchway, open the Activity Log with ⌥⌘0 or click Show Log on the error. The failed line gives the reason, the error code from macOS or the provider, and what to try. Copy or Save as Text gives you plain text to send to support.