Deploy
This article describes deployment scenario when the files folders are mirrored using FTP or another file mirroring solution between Litium Studio and inRiver.
When Litium Studio is in a seperate network
Following illustrates a possible deployment setup where Litium Studio is in a different network (when a VPN connection is not suitable or practical).
The folders need to be mirrored or FTP transfered between the two networks.
How to setup FTP or file mirroring
Do not mirror or FTP transfer the entire inRiver integration files folder, instead do the following.
- Enable the transferFilesToStudioOverSFTP setting in the \\Program Files\inRiver AB\inRiver Connect\OutboundConnectors\Litium.Studio.AddOns.InRiver.dll.config
- Use an appropriate FTP or file mirroring program to transfer files in the \\<Integration folder>\InRiverStudioIntegration\FtpPickUp directory.
- After a file is being transfered, it must be deleted in the inRiver side source directory. You may use a script or a supporting FTP program.
syncBackPro is a FTP program we have used successfully in certain cases. However, the program tend to get stuck, and you may need a powershell script to monitor the FtpPickUp directory to see whether files get stagnated there.
Optimizations must be disabled
If you are using FTP transfer, you must disable the optimizations as explained in this article. This is because an error in FTP program may result in files getting out of sync and its very difficult to recover from such an error.

Sending order information to ERP via web services
In certain scenrios it is possible to send the order information to ERP system via web services. Then following setup may be more appropriate.
