Git Product home page Git Product logo

ftp-client's Introduction

ftp-client

Bare bones implementation of FTP command-line client with Python sockets.

Usage

$ python main.py

If you'd like to activate debug output, you can use the --debug flag. This is useful if you're interested in looking at the actual protocol messages sent back and forth between the client and server.

The client

Once you start up the FTP client you'll get this prompt:

FTP >

You can start typing help or ? to see available commands. Also, typing help <command> shows you the documentation for that specific command.

Available commands

This FTP client does not exhaustively implement each of the commands available in the FTP protocol, but it's enough for common usage. Here's the full list of those available:

  • connect - Connect to FTP server running on specified host.
  • login - Prompts for user and password to authenticate with the FTP server.
  • logout - Logout current logged in user.
  • disconnect - Quits the connection to the FTP server.
  • list - Show information about file or directory, defaults to info about current directory.
  • retrieve - Download file.
  • store - Upload file.
  • pwd - Output current directory.
  • cwd - Change working directory.
  • cdup - Change working directory to parent of current working directory.
  • mkdir - Create directory.
  • rm - Remove file.
  • rmdir - Remove directory.
  • rename - Rename file or directory.

Limitations

  • Only ASCII transmission mode is supported.
  • No support for secure connections over TLS/SSL.

ftp-client's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

leedanleo sneux

ftp-client's Issues

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.