Giter Site home page Giter Site logo

ftp-server's Introduction

FTP-Server

This is an implementation of a simplified version of FTP. This program consists client and server. The server is responsible for serving files to the client. In this protocol, communication requires two different channels to send and receive data. The first channel, called the command channel, is the channel through which commands and responses are sent. The other channel, which is called the data channel, is the channel responsible for data transfer. Also, a file called config.json exists, which holds information about both users and the command channel and data channel port for authentication and authorization.

Supported Commands

Command Description
user <username> provide username for authentication
pass <password> provide password for authentication
pwd get the path of the current directory
mkd <directory> create new directory
dele -f <filename> delete file
dele -d <directory path> delete directory
ls list the files and directories in the current working directory
cwd <path> change the current working directory to a different directory
rename <from> <to> rename files or directories
retr <name> download file (if exists)
help display information about commands
quit logout

Contributors

ftp-server's People

Contributors

parnianf avatar

Watchers

 avatar

Forkers

theparia

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.