Skip to content

Svartorm/SmallRPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmallRPC

A simple Remote File Management System using RPC implemented in Python

Requirements:

  1. Python 3.6 or above
  2. Python libraries: xmlrpc

Usage:

  1. Extract the contents of the zip file located in dist/SmallRPC.zip
  2. Start the server by running the command: python server.py
  3. Run the client application by executing the command: python client.py
  4. The client will interact with the server using RPC to perform file management operations.
  5. The server runs on port 8000 by default. Make sure the port is not being used by any other application.
  6. The client can be run on any machine in the same network as the server. The client needs to know the IP address of the server to connect to it. The IP address of the server can be changed in the client.py file.

Features:

  1. Starting the client application will connect to the server automatically: Client
  2. The client can perform the following operations on the server:
    1. Create a file:
      Creating from text : Just writting text after the command will create a file with the text as content for the file: Create Creating from a file : Writting a file name with a supported extension ('.txt', '.md') after the command will create a file with the content of the file: Create Create
    2. Read a file :
      This command will read the content of the file and display it on the console: Read
    3. Write to a file :
      The update command will update the content of the file with the text or file provided: Update
    4. Delete a file :
      Delete
    5. List all files in the server :
      List
    6. Exit the client :
      Exit

More Information:

  • If you have question, open an issue on this repository or contact me at: [email protected]
  • Contribution are welcome. Feel free to open a pull request.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages