Lab 2.3: Simple Sharing and File Transfer Protocol (FTP) : November 2018
Lab 2.3: Simple Sharing and File Transfer Protocol (FTP) : November 2018
net/publication/328957333
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:
All content following this page was uploaded by Ahmed Elnaggar on 15 November 2018.
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
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
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
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