You are on page 1of 7

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/328957333

Lab 2.3: Simple Sharing and File Transfer Protocol (FTP)

Experiment Findings · November 2018


DOI: 10.13140/RG.2.2.24300.41606

CITATIONS READS
0 2,443

1 author:

Ahmed Elnaggar
National Telecommunication Regulatory Authority
25 PUBLICATIONS   6 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

MSc Research View project

Network Fundamentals Labs View project

All content following this page was uploaded by Ahmed Elnaggar on 15 November 2018.

The user has requested enhancement of the downloaded file.


Network Fundamentals

Lab 2.3: Simple Sharing and File Transfer Protocol (FTP)

Learning Objectives
 Set up file sharing in Microsoft Windows
 Configure File Transfer Server and Client

Background
Apps and services like Google Drive and Dropbox are great ways to share
stuff between your own devices or colleagues, but they are not the only way. You can
share files and folders through your home network too. It is so simple but it is
immensely unsafe too. If you share a folder, everyone can access it, and there are no
permissions and no passwords to restrict access to the shared folder.
The File Transfer Protocol (FTP) is a standard network protocol used for the
transfer of computer files between a client and server on a computer network. FTP is
built on a client-server model architecture using separate control and data connections
between the client and the server. FTP users may authenticate themselves with a
clear-text sign-in protocol, normally in the form of a username and password, but can
connect anonymously if the server is configured to allow it. For secure transmission
that protects the username and password, and encrypts the content, FTP is often
secured with SSL (FTPS) or replaced with SSH File Transfer Protocol (SFTP).
The first FTP client applications were command-line programs developed
before operating systems had graphical user interfaces, and are still shipped with
most Windows, Unix, and Linux operating systems. Many FTP clients and
automation utilities have since been developed for desktops, servers, mobile devices,
and hardware, and FTP has been incorporated into productivity applications, such as
web page editors.

Page 1 of 6
Network Fundamentals Lab 2.3: Simple Sharing and FTP

Task 1: Sharing through File Explorer in Windows 10


Use File Explorer to share files and folders with specific people, or anyone on
the network. You always have control over what you have shared, and whether other
users can look at or edit these files.
Step 1: Share an item on your network
Here is how to share files or folders with other users on your network:
1. Open File Explorer and find the item you would like to share
2. Right-click on the item, then click Give access to > click Specific people
3. Click the drop-down to choose someone to share the item with:

 Named user: Choose another user account on this computer.


 Everyone: Share the item with any user on the network
 Create new user: Set up new user account on computer to share an item with

When you have chosen the user or group to share with, click Add.
4. Click Share to make the changes you have selected, then click done to close.
You might see options to share with a HomeGroup in the right-click menu if there
is one on your network. Picking these options will not work, they have been
disabled, and they are likely to be removed in a future update of windows.

Page 2 of 6
Network Fundamentals Lab 2.3: Simple Sharing and FTP
Step 2: Grant File Permissions
 File permissions control what can happen to items you have shared. Usually,
they will be either 'Read' or 'Read/Write.'
 By default, Windows 10 shares files and folders in 'Read' mode. Users will be
able to open them, but they cannot save any changes to the original file
 To let others change a file, or add items to a shared folder, you will have to
give them permission
 To change permissions for an item, follow step 1 above. After you have added
the name of the user or group, click the drop-down to change the permission
level for that user to Read/Write before clicking Share

Step 3: Opening Shared files


1. Check mark File and Printer Sharing for Microsoft Networks on NIC

Page 3 of 6
Network Fundamentals Lab 2.3: Simple Sharing and FTP
2. Configure Sharing Options under Change advanced sharing settings
o Turn on network discovery
o Turn on file and printer sharing
o Turn off password protected sharing

3. The left-hand panel of File Explorer has shortcuts to Quick Access folders, as
well as This PC so you can get to your stuff. Below these is where you will
find shared content, listed under 'Network' or 'HomeGroup'

Note: Click Network to see which computers are sharing files and folders. As
long as the computer is running, you will see any network shares, no matter which
user is logged in to the computer

Page 4 of 6
Network Fundamentals Lab 2.3: Simple Sharing and FTP
Step 3: Stop Sharing an Item
Go to the file or folder, right click and choose Give access to > Remove access

Task 2: Configure File Transfer Server and Client


Step 1: Establish and configure FTP Server by following Steps:
1. Installing FileZilla ftp server

2. Now, add users who can log on the ftp server remotely, by going to: Edit menu
Users, then click the Add button Add the user and set the shared
folders and permissions finally click Ok

Page 5 of 6
Network Fundamentals Lab 2.3: Simple Sharing and FTP
Step2: Access FTP server and act as a FTP Client (cmd, browser, or client app)
1. By windows built-in cmd:
- ftp> ? /// to see all commands
- ftp> open ip ///Enter username and password
- ls ///list contents of remote directory
- cd ///Change remote working directory
- get filename /// download file and save
- mget filename1 filename2 ///download multiple files
- put file name
- hash ///to see progress bar during download
- disconnect /// close session
- bye /// close ftp service
2. Internet explorer:
- First check connectivity (using ping)
- ftp:\\IP or ftp:\\IP: port #
3. FileZilla ftp client:
- Install and run the FileZilla ftp client
- Type the IP address of the ftp server host, and then enter the username
and password who is allowed to access ftp server, finally click connect

Page 6 of 6

View publication stats

You might also like