Giter Site home page Giter Site logo

client-server-ftp's Introduction

FTP Client & Server Implementation

Authors : Rolandas Burbulis, Siddharth Subramanian Course : 651- Foundations of Computer Netwroks

FTP Server : This file contains the implementation of the FTP server which can connect multiple clients but can handle only service one client at a time. The server can run only UNIX based or LINUX systems due to the implementation of the LIST command. You can use this server with an open source and free FileZilla client.

filename    : FTPServer.java
arguments   : port number greater than 1024
usage       : java FTPServer <port number>
                Eg: java FTP Server 5521

Commands the server can handle :
    PWD  : sends present working directory
    CWD  : changes the working directory to the argument specified
    EPSV : enters passive mode for IPv6
    TYPE : sets the type of trasnfer
    LIST : gives the listing of the present working directory
    STOR : receives a file from the client
    RETR : sends a file to the client
    DELE : deletes a file on the server
    RMD  : removes a directory on the server
    MKD  : makes a new directory on the server

FTP Client : Usage: java FTPClient [FTP server port]

 Supported commands:
 CWD - change working directory to the argument specified
 DELE - delete specified file
 ESPV - enter passive mode
 LIST - list the contents of the current working directory
 MDTM - returns the last modified time for the specified file
 MKD - creates specified directory
 MLSD - list the contents of the current working directory
 NLST - name list of the contents of the current working directory
 NOOP - no operation
 PASS - send password of the user
 PWD - gets present working directory
 QUIT - disconnects from the FTP server
 RETR - downloads specified file into the local directory
 RMD - deletes specified directory
 RNFR - rename from
 RNTO - rename to
 SIZE - returns the size of the specified file or directory
 STOR - uploads specified file
 TYPE - sets the mode of the file transfer (i.e. I = binary, A = ASCII)
 USER - send username

client-server-ftp's People

Contributors

rolandasburbulis avatar wizsid avatar

Stargazers

Ilikbaeva Valeriia avatar

Watchers

 avatar

Forkers

mosalevaleksey

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.