Skip to content

ElenaChes/Csharp-Remote-Text-File-Editor--Client-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote File Editor

A college project in C# using server-client sides.
Description: a file editor with a remote file directory and permission management.

Note

The project is separated into a client side and a server(admin) side, but set to work on the same computer for testing purposes.
(Adjust IP addresses in code before compiling to run across computers in the same network)

Content


Installation

  1. Run Server_Final/Compiled/Server_Final.exe.
  2. Run Client_Final/Compiled/Client_Final.exe.

or

  1. Compile Server_Final/Server_Final.sln via Visual Studio.
  2. Compile Client_Final/Client_Final.sln via Visual Studio.

Usage

  1. Login via the client form.

There's currently 3 users in the system:

  • admin (pass: 123)
  • user1 (pass: 111)
  • user2 (pass: 222)

Adding new users:

  • If running the compiled files, modify: Server_Final/Compiled/users.txt
  • If running via Visual Studio, modify: Server_Final/Server_Final/bin/Debug/users.txt

Users:

  1. Load an existing text file from the user folder or open a new one.
  2. Make changes to the file and save, the file will get updated on the server's end.

Admin:

  1. Go through the user folders and manage the files.
  2. Changes made by the admin won't affect the files, but only the admin can delete existing files.