-
Notifications
You must be signed in to change notification settings - Fork 9
Server Package
cspencer44 edited this page Feb 21, 2017
·
7 revisions
The purpose of the server package is to host a file server. JFiles clients are able to connect and communicate with this server.
Currently supported commands:
MV <filename> <directory>
- This command will move a file to a different directory
FIND <filename>
- This command will return a file from the filesystem
ERROR <message>
- This command will return an error with a custom error message
LS <source>
- This command will return a list of files in a given directory
INFO <message>
- This command will return a client connection information
RM <filename>
- This command will move a file from the filesystem
RMDIR <directory>
- This command will remove a directory from the filesystem
TOUCH <filename>
- This command will modify a file`s timestamp to be current
MKDIR <directory>
- This command will create a directory
QUIT
- This command will exit the user from their session
CD <directory>
- This command will navigate the user to a different directory
PWD <file>
- This command will print the file information
Currently supported admin commands:
RESTART
- This command will restart the server
UPDATE
- This command will update the server`s files
STOP
- This command will halt the server
START
- This command will start the server
Configs:
-
maxThreads- Default 10 -
Port- Default 9786
- Home
- Course-Related Materials
- Development Environment
- Development Workflow
- Packages
- Guides
- Team Pages