Skip to content

A simple implementation of FTP protocol including client & server

Notifications You must be signed in to change notification settings

king2509/FTPImplementation

Repository files navigation

FTPImplementation

An implementation of FTP protocol, including client & server.

Introduction

Steps to establish the connection:

  1. client send USER to server
  2. client send PASS to server
  3. logged in if username & password are valid.

Control socket & Data socket

  1. control socket: used for commands transferring
  2. data socket: used for data transferring

Data Transfer Mode: PASV

  1. client send PASV to client
  2. server will return its ip address & port
  3. socket for data transferring establishs with specified ip & port
  4. data socket will be reestablished for each data transferring

About

A simple implementation of FTP protocol including client & server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages