O'Reilly logo

Raspberry Pi Networking Cookbook by Rick Golden

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing another computer's files (smbclient)

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

The previous recipes showed how to mount Widows shared folders either temporarily (by using the mount or pmount command) or permanently (by configuring /etc/fstab). This recipe shows how to list the available network shared folders and how to copy individual 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

The following are the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required