An open API service indexing awesome lists of open source software.

https://github.com/ajaymahadeven/File-Sharing-System

This project is a part of socket programming for Java and showcases a simple client-server file transfer application.
https://github.com/ajaymahadeven/File-Sharing-System

java java-ui maven socket-io socket-programming swing-gui

Last synced: over 1 year ago
JSON representation

This project is a part of socket programming for Java and showcases a simple client-server file transfer application.

Awesome Lists containing this project

README

          

# File Sharing System

## Description:

File Transfer System is a simple client-server application that allows users to transfer files from a
client to a server. The server receives the files and displays a list of received files. Users can then download the
received files from the server.

The application is written in Java and uses Java Swing for the client and server UIs. It supports the transfer of any
file type, including text and image files.

## Features:


  1. Simple client-server file transfer

  2. Server-side file list display

  3. File preview and download on the server

  4. Support for text and image file formats

## Installation:


  1. Clone the repository:

  2. git clone https://github.com/yourusername/APM30-File-Transfer-System.git

  3. Compile the Java files:

  4. javac org/apm30/client/Client.java org/apm30/server/Server.java org/apm30/server/MyFile.java

## Usage:


  1. Start the server:

  2. java org.apm30.server.Server
  3. Start the client:

  4. java org.apm30.client.Client
  5. On the client-side, click "Choose MyFile" to select a file to send.

  6. Click "Send MyFile" to send the selected file to the server.

  7. On the server-side, the received file will be displayed in the list.

  8. Click on a file in the list to preview and download the file.

## Contributions:


  1. Clone the repository from GitHub

  2. Create a new branch for your feature or bug fix.

  3. Write unit tests for your code.

  4. Implement your feature or bug fix.

  5. Ensure all tests pass.

  6. Commit your changes and push to your branch on GitHub

  7. Submit a merge request to merge your changes into the main branch.

## License:

This project is licensed under the MIT License. See the LICENSE file for more information.