Overview
A fresh installation of JSCAPE MFT Server will not be able to service any file transfer requests initially. A domain must first be created and configured before it can accept connections. A domain is created and managed using JSCAPE MFT Server Manager application. Please follow this guide on Launching JSCAPE MFT Server Manager for your operating system.
If after launching JSCAPE MFT Server Manager you get the error below please make sure you have JSCAPE MFT Server service running on the host you are trying to manage. Please follow this guide on Starting JSCAPE MFT Server service for your operating system.
Creating a domain using JSCAPE MFT Server Manager
Below is the initial JSCAPE MFT Server Manager screen when connected to a JSCAPE MFT Server service without any domain configured.
To create a new domain, click on “File > New Domain…” from the menu.
The “New Domain Wizard” screen should come up.
Enter a name for the domain and a description. Only the name is required and it will be permanent once the domain is created so choose the name carefully.
Click on the “Next >>” button to get to the Service configuration screen.
The service defined here will become the initial service for the domain. Additional services may be added after the domain has been created.
There are four service types to choose from: FTP, SFTP, HTTP and WebDAV. Depending on the service type chosen the following options will be available.
FTP / SFTP
Host – The default value of 0.0.0.0 means the service will listen on all existing interfaces. Unless you want to restrict the service to listen to a specific interface you would want to keep the default value. Please note that if you set this to 127.0.0.1 the service will not be able to accept connections from outside.
Port – The port on which the service will listen on. The default value is a known default for the service, 21 for FTP and 22 for SFTP. Unless you have some special need like running JSCAPE MFT Server as a non-root user under Linux/Solaris/Mac OS X you would want to keep the default value.
Authentication (SFTP only) – Determines which authentication method the server will use to authenticate a client. Possible methods are password, publickey, "password OR publickey" and "password AND publickey". password will only authenticate using the user's password. publickey will only authenticate using a user's private key with a public key deployed in the server. "password OR publickey" will use either. "password AND publickey" will use both.
Type (FTP only) – Possible types are regular, explicit SSL, forced explicit SSL and implicit SSL. Regular is the original, standard FTP. All FTP clients will be able to connect to it but it is not secure. The other three types are all secure and differ only in the initial client-server connection negotiation. When choosing among the three you will want to take into account the client software that will be used to connect to the service as not all clients support all three methods.
Private key – The key used to secure the transfer. Please note that the sample key that came with JSCAPE MFT Server is self-signed and might cause the client application to issue a warning.
HTTP
When done configuring the service click on the “Next >>” button to get to the Logging configuration screen.
The Logging configuration screen is where logs of authentications, transfers and service startups/shutdowns are written. There are two logging types to choose: File Log which write logs into a file within the filesystem and Database Log which write logs into a table named “log” within a database. The table must be created manually. JSCAPE MFT Server comes with three SQL scripts for Oracle, MSSQL or MySQL databases found under %installdir%/etc. A JDBC driver must be placed inside %installdir%/libs and the JDBC driver class registered under "File > Settings > JDBC Drivers"
Depending on the service type chosen the following options will be available.
File Log
Log Directory – The directory where the log files will be located.
Rotate Logs – The frequency in which log files are rotated. Could be time based, Daily/Weekly/Monthly or based on when the log file reached a given size.
Database Log
JDBC URL – The JDBC URL used to connect to the database where the “log” table reside
User – The database user used to connect to the database
Password – The user password
Pool size – The number of connections to keep in the connection pool
Time-to-live - The number of minutes
Click on the “Next >>” button to get to the Datastore configuration screen.
Datastore is where user and group account informations are stored. There are three types of datastores: File Record Datastore, File Datastore and DB Datastore. The first two uses filesystem files to store the information. The latter uses two database tables named accounts and groups to store user and group information respectively. The tables must be created manually. JSCAPE MFT Server comes with three SQL scripts for Oracle, MSSQL or MySQL databases found under %installdir%/etc. A JDBC driver must be placed inside %installdir%/libs and the JDBC driver class registered under "File > Settings > JDBC Drivers"
Click on the “OK” button to create the domain. The screen below is shown after the domain is created. At this point the initial service would have been started but no one would be able to connect until Authentication has been successfully configured.