Coder Social home page Coder Social logo

authordottle / filetransferapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 153 KB

This project helps users transfer files between different terminals.

Python 100.00%
computer-networking-and-internet-technologies ohio-state-university undergraduate-course cse-3461

filetransferapp's Introduction

File Transfer App

Jiaqian Huang.2366

Files

  1. server.py and client.py
  2. UI: Tkinter
  3. Some optional sample files in client and server folder

Prerequisite

  1. Version: python3 <=
  2. MAC/Linux Only

Get started

  1. ln the terminal, cd into server folder and open the server.py
{versionOfPython} server.py
  1. ln another terminal, cd into server folder and open the client.py
{versionOfPython} client.py

** Notice: More connections can be made by adding running client.py in other terminals.

  1. input server id which will be listed in the terminal

  2. register; a notification will pop up to warn the user if the userID already existed.

  3. A main page with three buttons will shown on the screen: list the local files, see the available download files, and leave

  4. Option: list the local files
    The user can see the files shared. They are uploaded when the user is registered.
    ** Notice: If the user wants to upload more, the user need to leave by clicking the button "leave" and register again.

  5. Option: see the available download files
    The user can see available files to download.
    ** Notice: When testing, please leave after downloading one file. If user wants to download more, please register again.

  6. Option: leave
    ** Notice: The user is required to click this button for leaving, or they cant leave later when the page is redirected.

Q & A

  1. How to prove available files?
    Open 2 client windows, check the second one by clicking show available files.

  2. How to prove 2 clients can be onsite together?
    Open 2 client windows, for the second one check available files to download, you can see other people's file. Leave the first one which registered first by clicking leave button. For the second client, check the available files, there are only this users files.

  3. How to prove same files can be onsite?
    When check the available files to download, some files have the same name but they belong to different users.

  4. How to prove files with same name wont be oeverlapped when download?
    When check the available files to download, the file will be renamed when local has the same file name.

Feedback

Server can't handle when more than one client has the same file.

filetransferapp's People

Contributors

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