Accessing another computer's files (smbclient)

The goal of this recipe is to transfer files between the Raspberry Pi and other computers using the command smbclient.

This recipe shows how to list the available network shared folders, to copy individual files, and how to copy entire directories of files from a computer with shared folders to the Raspberry Pi using the smbclient command.

After completing this recipe, you will be able to list the available file shares on the local network and transfer files directly between another computer and the Raspberry Pi using the SMB (CIFS) protocol.

Getting ready...

Here are the ingredients for this recipe:

  • An initial setup or basic networking setup for the Raspberry Pi that has been powered on. You have also ...

Get Raspberry Pi Networking Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.