Set up FileSync

Last modified by Dennis Knudsen on 2022/11/28 11:26

The IMPACT FileSync can be used to sync drawing files between different offices or consultant agencies.

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

image-20221128112620-1.png

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.

1629808616783-907.png

Run the Exe when the file has been downloaded and click "I Agree".

1638881727046-647.png

Install the "Full installation" and choose the location for the installation.

1638881752806-927.png

1638881771020-994.png

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.

1638881800945-604.png

Choose the default setting for the server interface and start the installation.

1638881843679-991.png

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.

1638881912686-301.png

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.

1638882042210-544.png

The server is now running and can now be configured.

1638882089094-757.png

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).

1638882192647-653.png

Thereafter select the "Users" to add a User (In this example IMPACTFTP) and set a password for that user.

1638882417939-619.png

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.

1638882555216-621.png

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.

1629808929802-663.png

Download the "FileZilla edition", run the exe file when downloaded, and click "I Agree".

1629808978045-475.png

1629809372157-166.png

Decline the "Optional offer" (Unless Adaware Web Companion" should be installed on your computer).

1629809354035-628.png

Install the Client for all users and select the recommended components.

1629809465800-266.png

1629809497118-602.png

Finish the installation by choosing the installation location, installing the application, and "Start FileZilla now".

1629809527040-403.png

1629809545602-876.png

1629809589659-572.png

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.

1638882713071-281.png

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.

1638883114008-681.png

The connection should now be successful and it should be possible to see the "Shared folder".

1638883165354-376.png

Setting up file sync in Service Configuration

Download the IMPACT Service Configuration Tool using StruSoft Installer and start the application.

1629811273872-347.png

Click on "Cloud File Storage" to set up a storage provider.

1629811362961-816.png

Set up a cloud storage provider of your choice and press OK.

1638882650835-881.png

(Optional) Click on Test to test the connection to the FTP Server

1629811493802-428.png

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.

1629811581505-387.png

IMPACT users should now be able to sync project files using IMPACT Project Manager.