<reponame>reva-gupta/SecureFTP
HOST = '127.0.0.1'  # localhost
PORT = 1234    # port used by server

# Directory Names
SERVER_FOLDER = '/server'
CLIENT_FOLDER = '/client'
ROOT_FOLDER = '/root'
SECRET_FOLDER = '/secret'
CA_FOLDER = '/ca'

# Secret File Names
SERVER_PVT_KEY = '/server-key.pem'
SERVER_PUBLIC_KEY = '/server-key-public.pem'

# Messages
INCORRECT_FILE = b'File does not exist'
SUCCESS_INTEGRITY_CHECK = b'The file passed integrity verification. The file was not corrupted'
FAILED_INTEGRITY_CHECK = b'The file did not pass integrity verification. The file was corrupted'
ACK = b"ACK"
EOF = b"EOF"

WELCOME_TEXT = """---------------------------------------------------
TYPE  >> help  TO GET THE LIST OF ALLOWED COMMANDS 
---------------------------------------------------"""

SecureFTP_HELP_TEXT = """    >> lsl                               : Lists the contents of the client's root folder
    >> lsr                               : Lists the contents of the remote server's root folder
    >> put <file-name in client root>    : Uploads a file from Client to Server 
    >> get <file-name in remote's root>  : Downloads a file from Server to Client
    >> exit                              : Exit the SecureFTP module"""

HELP_TEXT = """-----------------------------------------
DISPLAYING THE HELP MENU
-----------------------------------------
>> python -m src.run [ -h | --help ] 
-----------------------------------------
STARTING THE SERVER
-----------------------------------------    
>> python -m src.run [ -s | --server ]
-----------------------------------------
STARTING THE CLIENT
-----------------------------------------
>> python -m src.run [ -c | --client ] 
-----------------------------------------"""
HOST = '127.0.0.1'  # localhost
PORT = 1234    # port used by server

# Directory Names
SERVER_FOLDER = '/server'
CLIENT_FOLDER = '/client'
ROOT_FOLDER = '/root'
SECRET_FOLDER = '/secret'
CA_FOLDER = '/ca'

# Secret File Names
SERVER_PVT_KEY = '/server-key.pem'
SERVER_PUBLIC_KEY = '/server-key-public.pem'

# Messages
INCORRECT_FILE = b'File does not exist'
SUCCESS_INTEGRITY_CHECK = b'The file passed integrity verification. The file was not corrupted'
FAILED_INTEGRITY_CHECK = b'The file did not pass integrity verification. The file was corrupted'
ACK = b"ACK"
EOF = b"EOF"

WELCOME_TEXT = """---------------------------------------------------
TYPE  >> help  TO GET THE LIST OF ALLOWED COMMANDS 
---------------------------------------------------"""

SecureFTP_HELP_TEXT = """    >> lsl                               : Lists the contents of the client's root folder
    >> lsr                               : Lists the contents of the remote server's root folder
    >> put <file-name in client root>    : Uploads a file from Client to Server 
    >> get <file-name in remote's root>  : Downloads a file from Server to Client
    >> exit                              : Exit the SecureFTP module"""

HELP_TEXT = """-----------------------------------------
DISPLAYING THE HELP MENU
-----------------------------------------
>> python -m src.run [ -h | --help ] 
-----------------------------------------
STARTING THE SERVER
-----------------------------------------    
>> python -m src.run [ -s | --server ]
-----------------------------------------
STARTING THE CLIENT
-----------------------------------------
>> python -m src.run [ -c | --client ] 
-----------------------------------------"""
# localhost # port used by server # Directory Names # Secret File Names # Messages --------------------------------------------------- TYPE  >> help  TO GET THE LIST OF ALLOWED COMMANDS  --------------------------------------------------- >> lsl                               : Lists the contents of the client's root folder     >> lsr                               : Lists the contents of the remote server's root folder     >> put <file-name in client root>    : Uploads a file from Client to Server      >> get <file-name in remote's root>  : Downloads a file from Server to Client     >> exit                              : Exit the SecureFTP module ----------------------------------------- DISPLAYING THE HELP MENU ----------------------------------------- >> python -m src.run [ -h | --help ]  ----------------------------------------- STARTING THE SERVER -----------------------------------------     >> python -m src.run [ -s | --server ] ----------------------------------------- STARTING THE CLIENT ----------------------------------------- >> python -m src.run [ -c | --client ]  -----------------------------------------