Table of Contents |
---|
Summary
The FileMover service resides in the services folder with all EngageIP installations. It allows automated FTP and SFTP transfer of files from a source directory to a remote directory.
Configuration Requirements
FileMover config file with temp file line item
Temp folder existing on local system
FTP Source directory existing on local system
FTP Destination folder existing on remote system
Custom code - this installs profile questions for connection details. These connection details show as a list of profile questions on the admin user
FTP or SFTP user account created and working
Configuration
Add key to FileMover config file if it does not exist: <add key="TempFilePath" value="C:\TempFiles" />
Starting from EIP 9.3.9, the file mover supports GCP, sample config
Code Block <!-- Sample GCP Setting, upload to GCP --> <!-- <add ConfigUniqueIdentifier="57" SourceMoveType="Folder" SourceFolder="C:\\temp\\Src" SourceFileRegexFilter=".+csv" RenameFileOnMove="false" DestinationMoveType="GCP" DestinationBucket="bucketName" CompressionType="Zip" DestinationKeyLocation="C:\\path\\to\\key.json" DestinationFolder="folderName" /> --> <!-- download from GCP --> <!-- <add ConfigUniqueIdentifier="58" SourceMoveType="GCP" SourceFolder="folderName" SourceFileRegexFilter=".+csv" SourceBucket="bucketName" SourceKeyLocation="C:\\path\\to\\key.json" RenameFileOnMove="false" RemoveFromRemote="true" DestinationMoveType="Folder" DestinationFolder="C:\\temp\\Dst" /> -->
Install the GenericFileMoverSettingsCustomCode custom code
...
provided below
Go to admin user and add
...
the FileMoverSettings component
...
Start FileMover service in services list on APP server
GenericFileMoverSettingsCustomCode
View file | ||
---|---|---|
|
Testing
Place test file in source directory and wait for the file mover to pick up and transfer the file
Check the Logs folder for any related errors
...
if the file is not
...
being moved
Notes
Destination directory should not have starting forward slash
Keys can be left blank initially for basic implementation and basic SFTP account
Ensure write permissions exist on all folders (temp, source, destination)