# 4.6 Copy File from Share Example

This example illustrates the process of copying a file from a share to a client (downloading). An SMB connection and an SMB session are already assumed to have been successfully completed.

Figure 15: Command to copy y:\text.txt to the current directory

The share used here was served from Windows NT Server 4.0 operating system Service Pack 6a (SP6a). It was mapped as drive Y: on a Windows 98 operating system client. The operation performed was in an MS-DOS window.

 C:\> copy y:\text.txt .

Show: