GithubHelp home page GithubHelp logo

codebitters / filesync Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 3.0 64 KB

FileSync is a utility that is supported to sync files between two places via the network.

License: MIT License

Java 100.00%
file-sync sync hacktoberfest

filesync's People

Contributors

chathurajw avatar

Stargazers

 avatar

filesync's Issues

File transfer service

There should be two files; one for the server other for the client. When we give a file to send, the server should host it and the client should download and save it appropriately.

Use class and method name appropriately.

Maintain database to track all files.

Without communicating with the destination every time, use a local database where the file watcher can refer to it and identify the updated files.

Database structure can be like below.

| file_id | file_name | source_full_path | destination_full_path | updated_at | hash |

Thred based progress bar

To show the progress of time-consuming tasks this will be helpful. There are tasks running in the main thread. The goal is to create a separate class method to maintain and display the progress bar. The completed percentage should pass through a parameter to the class method, based on that progress bar should display.

image

The above image shows a sample progress bar. It is better if possible to provide a time estimation base on the speed of changing the percentage.

The class name should be ProgressBarDisplay. create under the src directory.

There should be a public function called, updateProgressPresentage(float currentPercentage)

Complete implementation should be in a single file.

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.