Giter Club home page Giter Club logo

ftp-clientserver's Introduction

FTP Client and Server

Jialong Wu

Introduction

FTP socket programming for BOTH client and server.

Course project for Computer Networks, instructed by Prof. Yang.

For details, please see my report (in Chinese).

client-demo

Server

The server is implemented using C and Berkeley Socket API, supporting:

  • FTP services on specified ports and directories
  • Multiple clients to connect simultaneously without blocking
  • Totally 19 FTP commands: USER, PASS, RETR, STOR, QUIT, SYST, TYPE, PORT, PASV, MKD, CWD, PWD, LIST, RMD, RNFR, RNTO, REST, DELE
  • Large file transmission
  • Resume transmission from breakpoint, for both upload and download
  • Connected and normally used by the following own implementation of FTP clients

Enviroment

Linux

Usage

Enter the directory server, run:

make serve
sudo ./server -port [port] -root [root]

The default value is 21 for port and \tmp for root.

Client

The client is implemented using Python and PyQt5 for GUI, supporting:

  • FTP commands: USER, PASS, RETR, STOR, QUIT, SYST, TYPE, PORT, PASV, MKD, CWD, PWD, LIST, RMD, RNFR, RNTO, REST, DELE
  • Connecting to and normally served by the above own implementation of FTP servers and vsftp servers
  • Large file transmission
  • Resume transmission from breakpoint, for both upload and download
  • File transmission without blocking the server

Requirements

PyQt5

Usage

Enter the directory client, run:

python client.py

Acknowledgement

We would like to thank Prof. Yang and TAs for their devotion to the course Computer Networks.

ftp-clientserver's People

Contributors

manchery avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.