Skip to main content
These examples use the address 192.168.1.20 for your Mac. Use an address from the bottom bar of the Transfer window instead.

Update a device’s firmware over TFTP

Goal: A switch, access point, or other device downloads a firmware file from your Mac. Before you start: The device must be able to download firmware from a TFTP server; check its documentation for the exact command or menu. Connect your Mac to a network the device can reach.
  1. In Transfer > Settings > General, make sure TFTP is selected.
  2. Drag the firmware file onto the file browser in the Transfer window. Keep it at the top of the root directory, since some devices don’t accept paths.
  3. Optionally, select Read Only so devices can’t upload or overwrite files.
  4. On the device, start the firmware download, giving it your Mac’s address and the file’s exact name. Many devices use a command similar to copy tftp://192.168.1.20/firmware.bin flash:.
  5. Watch the transfer in the Downloads list. When it completes, it shows the file size and how long it took. Continue the update on the device.
If it fails: File not found means the name or path the device requested doesn’t match a file in the root directory. Transfer timed out usually means a firewall or the device’s network path is dropping traffic. If the transfer stops partway, try deselecting Block Size in TFTP settings.
TFTP has no password or encryption. Any device that can reach your Mac can download files from the root directory. Turn TFTP off when you’re done.

Back up device configurations

Goal: Network devices upload their configuration files to your Mac over TFTP or SFTP.
  1. In Transfer > Settings > General, make sure the protocol your devices use is selected, and set When uploading, if the file already exists to Keep both files, so a new backup never replaces an earlier one.
  2. Make sure Read Only isn’t selected.
  3. If you want backups in a subfolder, you can create it first: right-click the file browser and choose New Folder. Over TFTP, Transfer creates a missing folder when a device uploads to it; over SFTP, the folder must exist or the client must create it.
  4. On each device, start the upload to your Mac, for example copy running-config tftp://192.168.1.20/configs/sw01.cfg. For SFTP, use the username and password from General settings.
  5. Check the Uploads list. A file that already existed is saved with a number added, such as sw01-2.cfg.

Share files with a Windows PC, iPhone, or Android device

Goal: Someone downloads files from your Mac with a web browser, without installing an app.
  1. In Transfer > Settings > General, select HTTPS.
  2. In Transfer > Settings > HTTP/HTTPS, deselect Allow unauthenticated requests, and keep Allow directory listing selected.
  3. Select Read Only so visitors can only download.
  4. On the other device, open a web browser and go to https://192.168.1.20/. Accept the certificate warning, or trust the HTTPS certificate first to avoid it.
  5. Sign in with the username and password from General settings, then browse to a file and download it.
Browsers can only download. To send files to your Mac from another computer, use SFTP, as in Your first file transfer, or upload with curl as described next.

Upload a file over HTTP or HTTPS

Goal: Upload a file from a script or command line without an FTP or SFTP client.
  1. Make sure HTTP or HTTPS is selected in General settings, and Read Only isn’t selected.
  2. On the client, upload the file with a PUT request. With curl:
    curl asks for the password. Leave out -u transfer if Allow unauthenticated requests is on, and use http:// without --cacert for HTTP.
  3. A successful upload returns HTTP status 201 (Created). If the file already exists and When uploading, if the file already exists is set to Terminate transfer with error, the server returns 409 (Conflict); if Read Only is selected, it returns 403 (Forbidden).

Recover from an interrupted transfer

If the connection drops, the client cancels, or your Mac goes to sleep, the transfer shows as failed or canceled in its list, with the reason. To try again, start the transfer again from the client:
  • Uploads always start over. An interrupted upload doesn’t leave a partial file in the root directory, and it doesn’t change an existing file with the same name, so there’s nothing to resume. Over FTP, Transfer refuses requests to resume an upload, and the client must send the whole file.
  • Downloads over FTP or SFTP can continue from where they stopped, if the client supports it. For example, use curl -C - with an ftp:// URL, or reget in the sftp command. The resumed download appears as a new entry marked (partial), because it transfers only the rest of the file.
  • Downloads over TFTP, HTTP, or HTTPS start over from the beginning. Transfer always sends the whole file over these protocols.
If transfers keep failing, see Troubleshooting.

See also