How to Use Windows SMB Share As Network Storage | JSCAPE

Did you know you can upload files to our MFT server without them being saved on the same machine? Learn how to use Windows SMB share to store files.
  1. Blog

When a user uploads files via FTP/S, SFTP, HTTP/S, or any supported file transfer protocol to JSCAPE MFT Server, those files don't have to be stored on the same machine as that server. Instead, you can have those files redirected to a variety of network storage options like a remote SFTP service, Amazon S3, Dropbox and several others. In this post we're going to show you how to store uploaded files to a remote Windows SMB share.

What we want to do

windows smb share as network storage for file transfer server - thumbnail

Watch the video

Would you prefer to watch a video version of this tutorial instead? You can play the video below. Otherwise, just skip it if you wish to continue reading.

How to set it up

[This is on the remote Windows host]

So, we're now here on our remote Windows host. And before we begin setting things up on JSCAPE MFT Server, let's grab the IP address of this host first, as we're going to need it later once we start configuring our network storage object on our JSCAPE MFT Server instance.

In this example, the IP address of our remote Windows host is 172.31.4.180.

windows smb share as network storage for file transfer server - 01-1

We also need to obtain the name of the SMB share, and we can do that by right-clicking the target folder, selecting Properties from the context menu, and going to the Sharing tab. Here, our SMB share name is simply 'smbshare'. Yes, we couldn't think of a better name :-).

windows smb share as network storage for file transfer server - 02

[This is on the JSCAPE MFT Server instance]

Now that we have all that information, we can now head to our JSCAPE MFT Server instance and log in to the administrative web user interface.

windows smb share as network storage for file transfer server - 03

Let's navigate to a domain and go to the Network Storage module. So, here, we're going to add a new network storage object by clicking the add button.

windows smb share as network storage for file transfer server - 04

Because what we want to add is an SMB network storage object, we just select SMB from the protocol drop down list. Notice that you have several other options in there and if you're interested in those, we've also shared tutorials for some of them at the end of this article. For now, just click OK to proceed.

windows smb share as network storage for file transfer server - 05

You'll then be brought to the SMB network storage parameters dialog box. Start by giving this network storage a name, say, 'ns-smb'.

After that, go to the Host/IP field and enter the IP address of the remote Windows host that took note of earlier. You should also enter login credentials of a valid account on that remote host.

windows smb share as network storage for file transfer server - 06

Scroll down a bit and, in the Advanced panel, select the Remote directory option and enter the name of the SMB share in the corresponding text box. Note that the name should be preceded by a forward slash (/).

If you want, you may test the connection by clicking the Test Server button...

windows smb share as network storage for file transfer server - 07

... and if the test succeeds, click OK until you're back at the main screen.

windows smb share as network storage for file transfer server - 08

You should then see your newly created SMB network storage object in the Network Storage tab.

windows smb share as network storage for file transfer server - 09

Now, that you've created your network storage object. The next step is to map it to either a user's or group's virtual path. For this example, let's just map it to a user's virtual path. To do that, go to the Users module, select a user whose virtual path you'd like to map this network storage to, and click the Edit button.

windows smb share as network storage for file transfer server - 10

Go to the Paths tab and click Add to add a new virtual path.

windows smb share as network storage for file transfer server - 11

Give this virtual path a name, e.g., 'remotesmbshare'.

After that, click the Network Storage option and select the SMB network storage object you created earlier.

Click OK to proceed.

windows smb share as network storage for file transfer server - 12

And then OK again to get back to the main screen.

windows smb share as network storage for file transfer server - 13

windows smb share as network storage for file transfer server - 14

Ok. It's time to try this out.

Here in my set up, I have an HTTP and SFTP service, so let's try connecting with those.

windows smb share as network storage for file transfer server - 15

The host where my JSCAPE MFT Server instance is running has an IP address of 172.31.12.181...

windows smb share as network storage for file transfer server - 16

[This is on the client machine]

...so I enter that IP address into the browser of my client machine.

As soon as the login screen of the web user interface loads up, I enter the domain as well as the login credentials of the user account whose virtual path was mapped to the SMB network storage, and then click Login.

windows smb share as network storage for file transfer server - 18

As expected, we see a folder named 'remotesmbshare'. This is the virtual path that's mapped to the SMB network storage.

windows smb share as network storage for file transfer server - 19

Let's try uploading a file to this folder.

windows smb share as network storage for file transfer server - 20

windows smb share as network storage for file transfer server - 21

windows smb share as network storage for file transfer server - 22-1

That file should actually be in the SMB share folder on the remote Windows host, so let's try to confirm that.

[This is on the remote Windows host]

I'm now here in the remote Windows host, so let's navigate into the shared folder...

windows smb share as network storage for file transfer server - 23

... and here, as you can see, the uploaded file is in this shared folder.

windows smb share as network storage for file transfer server - 24

[This is back on the client machine]

The shared folder should be accessible regardless which file transfer protocol you use. So if we go back to our client machine and connect to our JSCAPE MFT Server instance using SFTP, which, if you recall is also enabled on that server...

windows smb share as network storage for file transfer server - 25

We can see the same file on the virtual path named 'remotesmbshare'.

windows smb share as network storage for file transfer server - 26

That's it. Now you know how to use a Windows SMB share as network storage for your file transfer server.

Try this out

Would you like to try this out yourself? Download the FREE, Starter Edition of JSCAPE MFT Server now.

Download JSCAPE MFT Server

Related content

How To Use DropBox As Cloud Storage For Your MFT Server

How To Use Box As Cloud Storage For Your MFT Server

Using A Remote FTP/S Service As Network Storage For Your MFT Server

Using A Remote SFTP Service As Network Storage For Your MFT Server

How To Use Google Storage As The File Storage System Of Your MFT Server