Coder Social home page Coder Social logo

a-file-catalog's Introduction

File-Catalog

This is a server program implemented with Java RMI which acts as a file catalog from which a client can store their files, or that was what it was supposed to do. The assignment got scaled down so handling metadata of a file was enough.

Enjoy!

Welcome to the file catalog!

Enter username('quit' to exit): Alex

Enter password: alex123

That username did not exist.
An account has been created with the credentials given.

Enter command: ('help' for list of commands)
list

FILE: again               OWNER:shayan              PERMISSIONS: private             READ/WRITE: read
FILE: file2               OWNER:olle                PERMISSIONS: public              READ/WRITE: write
FILE: bangers             OWNER:jag                 PERMISSIONS: public              READ/WRITE: write
FILE: myclientfile        OWNER:me                  PERMISSIONS: private             READ/WRITE: read
FILE: wr                  OWNER:me                  PERMISSIONS: private             READ/WRITE: read
FILE: filewithuser        OWNER:shayan              PERMISSIONS: public              READ/WRITE: read
FILE: newname             OWNER:me                  PERMISSIONS: private             READ/WRITE: write

Enter command: ('help' for list of commands)
help

List of commands:
upload <file> <public/private> <read/write>
modify <filename> <attribute> <new modification>
quit
list
logout
unregister

Enter command: ('help' for list of commands)
modify file2 filename foofile

file2 has changed name to foofile.

Enter command: ('help' for list of commands)
list

FILE: again               OWNER:shayan              PERMISSIONS: private             READ/WRITE: read
FILE: foofile             OWNER:olle                PERMISSIONS: public              READ/WRITE: write
FILE: bangers             OWNER:jag                 PERMISSIONS: public              READ/WRITE: write
FILE: myclientfile        OWNER:me                  PERMISSIONS: private             READ/WRITE: read
FILE: wr                  OWNER:me                  PERMISSIONS: private             READ/WRITE: read
FILE: filewithuser        OWNER:shayan              PERMISSIONS: public              READ/WRITE: read
FILE: newname             OWNER:me                  PERMISSIONS: private             READ/WRITE: write

Enter command: ('help' for list of commands)
unregister

You have been deregistered.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.