You can't.
Pi3 is a Web Server.
You can have it serve files, but it can not act as a FTP server.
Check out wu-ftpd or war-ftpd for ftp servers.
A telnet server is included with Linux.
Telnet servers for WinXX platforms are few and sketchy.