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

https://github.com/elenaches/csharp-remote-text-file-editor--client-server

A college project in C# using server-client sides, a file editor with a remote file directory and permission management.
https://github.com/elenaches/csharp-remote-text-file-editor--client-server

c-sharp client-server client-side college-project console csharp file-editor remote remote-file-reader server-client server-side

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](#installation)
- [Usage](#usage)
- [Users](#users)
- [Admin](#admin)


# 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:

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

## Admin:

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