Giter VIP home page Giter VIP logo

ftp_syncer's Introduction

ftp_syncer

ftp_syncer keeps your local directory synced with remote directory via FTP. Based on watchdog, a Python library to monitor filesystem events, ftp_syncer maps the resulting events such as on_created {directory} with FTP.mkd() {directory}.

Why ftp_syncer?

At times many shared hosting services (like HostGator, BlueHost) doesn't allow ssh into shared hosting instances. In that case, only options left are either FileZilla or other FTP specific code deployment tools.

ftp_syncer leverages the existing FTP capabilities and doesn't require you to manually deploy your codebase whenever there's a change in it. Just keep writing or deleting the code and see the resulting changes on server.

Can I use it in production environment?

You should never use it in production environment. ftp_syncer should only be used within dev environment and that too with great caution.

How it works

  1. Install watchdog and ftplib modules.
  2. Save your FTP credentials in config.yaml
python ftp_syncer.py -c config.yml -s YOUR_SERVER_DIR -l YOUR_LOCAL_DIR

Script Help

Execute with --help parameter to get help on all available options.

python ftp_syncer.py --help

License

This software is distributed under the terms of the MIT license.

Notes

Contact me at @_jehanzaib_ or [email protected] for any feedback/suggestions.

ftp_syncer's People

Contributors

jehanzaib avatar

Watchers

 avatar  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.