Win10 FTP
********** Windows 10 native FTP server setup **********
1) appwiz.cpl -> Turn Windows features on or off -> Internet Information Services
2) check FTP Server (all); check Web Management Tools - IIS Management Console;
3) Win+S -> Windows Administrative Tools -> Internet Information Services
4) From the left-hand panel, right-click on your computer’s name.
5) Click on the ‘Add FTP site’.
6) Type in a name for your FTP server in the ‘FTP site name’ field.
7) Choose a folder as the physical path of your FTP directory.
8) You can assign an IP address and port to your FTP in the next step. You can leave them the way they are.
9) If using locally - no SSL; configure on windows 10, authentication - anonymous
10) Configure Windows Firewall
11) ‘Allow an app or feature through Windows Firewall’ from the left-hand menu
12) Click on ‘Change settings’.
13) Find ‘FTP Server’ in the list and check-mark private. (Depending on where I am doing this)
**********************************************************
FTP - TCP port 21 (port 20 - data connection for file transfers in active mode; port 21 - control connection for commands)
TFTP - UDP port 69
Active Mode:
The client connects to the server’s port 21 for the control channel.
The client specifies a port for the server to connect back to for the data channel using the PORT command.
The server initiates a connection from its port 20 to the specified client port for data transfer.
Passive Mode:
The client connects to the server’s port 21 for the control channel.
The client requests the server to provide a data port using the PASV command.
The server responds with a random high-numbered port.
The client initiates the connection to the server’s provided port for data transfer.