GithubHelp home page GithubHelp logo

ftp-master's Introduction

FTP-Master

File Structure

├── .idea │   ├── FTP_master.iml │   ├── inspectionProfiles │   ├── misc.xml │   ├── modules.xml │   └── workspace.xml ├── FTPClient │   ├── init.py │   └── ftp_client.py ├── FTPServer │   ├── init.py │   ├── bin │   │   ├── init.py │   │   └── ftp_server.py │   ├── conf │   │   ├── init.py │   │   ├── pycache │   │   │   ├── init.cpython-36.pyc │   │   │   └── settings.cpython-36.pyc │   │   ├── accounts.cfg │   │   ├── da.py │   │   └── settings.py │   ├── core │   │   ├── init.py │   │   ├── pycache │   │   │   ├── init.cpython-36.pyc │   │   │   ├── ftp_server.cpython-36.pyc │   │   │   └── main.cpython-36.pyc │   │   ├── ftp_server.py │   │   └── main.py │   └── home │   └── init.py ├── README.md └── init.py

This is a Python poject, basing socket and re packes

Running:

For Server, in terminal:
	$ cd ~/FTP_master/FTPServer/bin/
	$ python ftp_server.py start
For Client, in terminal:
	$ cd ~/FTP_master/FTPClient
	$ python ftp_client.py -s 127.0.0.1 -P25100 -uLightwing -pabc123
Remarks:
	defaul account and passwords: Lightwing, abc123

Menu:

[Lightwing]$:help ['help']

    get filename    # get file from FTP server
    put filename    # upload file to FTP server
    ls              # list files in current dir on FTP server
    pwd             # check current path on server
    cd path         # change directory , same usage as linux cd command
    touch           # touch file 
    rm              # rm file  rm director
    mkdir           # mkdir direcotr

ftp-master's People

Contributors

lightwing-ng 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.