O'Reilly logo

Learning Python Network Programming by Sam Washington, Dr. M. O. Faruque Sarker

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

Sharing files with SAMBA

In a LAN environment, you will often need to share the files between different types of machines, such as Windows and Linux machines. The protocol used for sharing the files and the printers among these machines is either the Server Message Block (SMB) protocol or its enhanced version called the Common Internet File System (CIFS) protocol. CIFS runs over TCP/IP and it is used by the SMB clients and servers. In Linux, you will find a package called Samba, which implements the SMB protocol.

If you are running a Linux virtual machine within a Windows box with the help of software, such as VirtualBox, then we can test file sharing among the Windows and the Linux machines. Let us create a folder at C:\share on the Windows machine ...

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