Skip to content
This repository has been archived by the owner on Sep 9, 2023. It is now read-only.

This project helps users transfer files between different terminals.

Notifications You must be signed in to change notification settings

authordottle/FileTransferApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages