Set up FileSync
Prerequisites
- File Storage on the Main Office for storing IMPACT Files
- File Storage on the Branch Office for storing IMPACT Files
- Cloud File Storage utilized by the IMPACT WebAPI to store synchronized files.
Installation Scheme
Note that files on the Cloud File Storage are only used by the IMPACT WebAPI internally and not directly accessible by the user.
StruSoft recommends NOT using the IIS FTP (Because we have seen that it for some reason doesn't work properly with IMPACT) but using the FileZilla FTP Server application for an FTP File Sync connection.
Setting up file sync with a FileZilla FTP Server
Setting up FileZilla FTP Server
To set up the FileZilla FTP server is it necessary to download FileZilla Server - It can be found at Download FileZilla Server.
Click on the green button to download it.
Run the Exe when the file has been downloaded and click "I Agree".
Install the "Full installation" and choose the location for the installation.
After the location has been chosen, choose that the FileZilla Server should be installed as a service and start with Windows. Port XXXXX (In my case 14148) is the default port and it's possible to change the port no if needed. Its also possible to add an administrator password but this is not needed.
Choose the default setting for the server interface and start the installation.
After the installation is done - Finish it with "Close" and the server will start. Click on "Connect to FileZilla FTP Server" to start the configuration of the FTP Server.
Connect to the host 127.0.0.1 and the port that was opened during the installation and enter the password if a password was defined during the installation. It's also possible to save the password and automatically connect to the server on startup.
The server is now running and can now be configured.
Start by adding the IP Address of the computer and a port (This port should be open in the firewall so IMPACT can communicate with the FTP Server).
Thereafter select the "Users" to add a User (In this example IMPACTFTP) and set a password for that user.
After the user and password are added set the Virtual path to / and the Native path to the folder location on the computer. Thereafter set the path as Writable.
Finish with OK - The FTP server is now up and running with a login.
Setting up FileZilla Client (Optional)
One way to test if the connection is to install the FileZilla Client - The Client can be downloaded at Download FileZilla Client.
Download the "FileZilla edition", run the exe file when downloaded, and click "I Agree".
Decline the "Optional offer" (Unless Adaware Web Companion" should be installed on your computer).
Install the Client for all users and select the recommended components.
Finish the installation by choosing the installation location, installing the application, and "Start FileZilla now".
Login to the FileZilla server to control if the connection has been established correctly.
Host - This should be "Ftp://Localhost" if the FileZilla server is installed at the same server as the FileZilla Client and Service Configuration. If the FileZilla server is located on another server should the "Localhost" be changed to the IP address of the other server.
Username - This is the username created in the FileZilla Server.
Password - This is the Password for the user that was created in the FileZilla Server.
Port - Can be left blank - But it set what port should be used for the connection.
Finish with "Queckconnect" and click "OK" to the dialog box. It's your own responsibility to make sure that the connection to the FTP is secure.
The connection should now be successful and it should be possible to see the "Shared folder".
Setting up file sync in Service Configuration
Download the IMPACT Service Configuration Tool using StruSoft Installer and start the application.
Click on "Cloud File Storage" to set up a storage provider.
Set up a cloud storage provider of your choice and press OK.
(Optional) Click on Test to test the connection to the FTP Server
NOTE: The Cloud File Storage provider could either be a self-hosted FTP (StruSoft recommend FileZilla), Amazon S3 or Azure Blob Storage.
Click Deploy to deploy a WebAPI with the new cloud file storage settings.