Blog

Managed File Transfer and Network Solutions

How To Install an SFTP Server on Windows | JSCAPE

Posted by John Carl Villanueva on Mon, Dec 28, 2020 @ 02:31 AM

[Last updated: December 2020] Because Windows doesn't have an SFTP server built in, here's a tutorial showing how to install one on it. 


The SFTP server we'll be using for this tutorial is JSCAPE MFT Server, a managed file transfer server that supports SFTP and several other file transfer protocols like FTP, FTPS, HTTP, HTTPS, WebDAV, and even AS2 and OFTP, among others. 

 

Installing the server

To download the SFTP server installer, just click the download button below.

 

Download Now  

 

Make sure you download the installer that's appropriate for your system. If you have a 32-bit Windows system, then download install.exe. But if you have a 64-bit Windows system, download install_64.exe. As soon as you have the installer on your Windows machine, double-click it to launch.

 

install sftp server on windows - 01 

 

install sftp server on windows - 02

 

That should bring up the JSCAPE MFT Server Setup Wizard's welcome screen. Click Next to proceed.

 

install sftp server on windows - 03

 

Next up is the License Agreement. Go through the contents of that agreement. If everything looks good to you, select the option labeled "I accept the agreement" and then click the Next button.

 

 install sftp server on windows - 04

 

You'll then be prompted to enter the installation's destination directory. This is where all the server's files will be stored. Normally, the installation will be placed under the C:\Program Files\JSCAPE MFT Server directory. If you want it to be stored in another directory, just click the Browse button and browse to your desired directory. Once you're done, click the Next button.

 

install sftp server on windows - 05

 

The wizard will then ask you whether you want to create a Start Menu folder for this program. If you want to access JSCAPE MFT Server from the Start Menu, just leave everything as is and then click Next.

 

install sftp server on windows - 06

 

Wait for the progress bar to complete. 

 

install sftp server on windows - 07

In the next screen, you'll be asked to set up the database parameters. Basically, JSCAPE MFT Server stores server configuration data in a database. If you choose the Embedded database option, all server configuration data will be stored in the embedded H2 database found in the [mft server installdir]/data directory. 

If you choose the Custom database option, that means you want to store the configuration data in an external RDBMS like MySQL, MS SQL Server, Oracle, or PostgreSQL. In this case, you need to specify the database URL of the database in your RDBMS.

Let's just select the Embedded database for now. It's the default option, so you don't have to do anything. Just click Next.

 

install sftp server on windows - 08

 

After that, you'll then be presented with some administrative login settings. This would include the IP address of the management host, the management port, REST HTTP IP address, REST HTTP port, administrative username, and administrative password. Take note of the REST HTTP port, as we'll be needing that later when we enable the SFTP service via a web browser. 

Except for the username and password, you might want to leave those settings to their default values. 

Click Next to proceed.

 

 

After that, the system will ask you to enter the maximum memory size it should reserve for this application. The default value is 1024 MB, which is all you'll need for now. 

Click Next to proceed.

 

install sftp server on windows - 09

 

Finally, you'll reach the screen indicating the end of the setup wizard. Click the Finish button to finalize the setup process. 

 

install sftp server on windows - 10

 

Creating the SFTP service

Now that you've installed JSCAPE MFT Server, the next step would be to enable the SFTP service. Let's do that through the Web-based administrative interface. If you recall, we asked you to take note of the REST HTTP port. If you didn't change the setting during installation, the default value would be 11880.

Enter http://[host or ip address]:11880 into a web browser and click Enter. 

The host or ip address refers to the hostname or IP address of the machine that's running your newly installed JSCAPE MFT Server. If you're doing this locally, just enter:

http://localhost:11880

On the other hand, if the server is running on another machine with IP address 192.168.100.102, for example, then enter:

http://192.168.100.102:11880

That should bring up the login screen. Enter the admin username. If you simply followed this example, that should be "admin". Enter the admin account's corresponding password. To finally gain access, click the Login button.

 

install sftp server on windows - 11

Once inside the administrative interface, the first thing to do would be to add a new domain. Navigate to the Domains tab and then click the Add button to add a new domain. 

 

install sftp server on windows - 12

 

Give the domain a name (e.g. mftserver1) and then click the Next button again.

 

install sftp server on windows - 13

 

Here we are. This is the part you've been waiting for. This is where we enable the server's SFTP service. Expand the Protocol drop-down list and select SFTP/SCP. Notice that, when you expand the list, you'll also see several other file transfer protocols, including: AFTP, AS2, FTP, FTPS, HTTP, HTTPS, OFTP, TFTP, WebDAV, and WebDAVs. 

For now, because we just want to set up a Windows SFTP server, let's just select SFTP/SCP. But at least you know there are other file transfer protocols to choose from. 

Just leave the host IP address as is. The default port number of SFTP is 22. Leave that as well. 

The private key chosen there is just for testing purposes. It should never be used in a production environment. If you want to know where you can change that and what it's for, I suggest you read the article: Setting Up An SFTP Server

Notice too that Authentication is set to password by default. This is the authentication method that the server will use each time a user requests a connection to this Windows SFTP server. Password authentication is just like any regular login. The user is simply asked to enter a username and a corresponding password. 

It's worth noting, however, it's also possible to select public key authentication or even password AND public key authentication. That last method of authentication, which combines password authentication and public key authentication, is already a two factor authentication process and provides for really strong authentication. We won't go into the details of that here. But if you're looking for more secure ways of authenticating your users, just click those links!

Done here? Click Next to proceed.

 

install sftp server on windows - 14

 

Just click the Next button to on the succeeding screens to accept the default values.

 

install sftp server on windows - 15

 

Once you're back at the main screen, you should see your newly created domain under the Domains tab. However, don't celebrate just yet. 

Although you should already have an SFTP server up and running, you won't be able to use it yet. You still need to create a user to login with. 

Select the domain you recently created and click the Edit button. You may also double-click on the domain if you want.

 

install sftp server on windows - 17

 

While you're inside, drop by the Services menu and say "hi!" to your newly created SFTP service sitting there by its lonesome.

 

install sftp server on windows - 18

 

Scroll down that column of menus until you reach the one labeled Users. Click it and then click the Add button.

 

install sftp server on windows - 19

 

Select the Default template and then click OK.

 

install sftp server on windows - 20

 

Enter a Name, login name and password for this user. 

After that, click OK.

 

install sftp server on windows - 21

 

You should then see the newly created user under your Users tab.

 

install sftp server on windows - 22

 

That's it. In our next post, we'll show you how to connect to this Windows SFTP server using that user account through a Windows SFTP client. Stay tuned for that. In the meantime, have a nice day and thanks for reading. 

 

Topics: JSCAPE MFT Server, Managed File Transfer, Tutorials, Secure File Transfer, SFTP