dani torres · Jun 18, 2018

EnsLib.RecordMap.Service.FTPService class error

Hi, Community!

I am trying to create a business service that takes a csv through a FTP server and pass it to a business process.  So,  I have created a registration map for the CSV file and the business service which extends from the EnsLib.RecordMap.Service.FTPService .  When I try to configure the business service in the FilePath section I enter the FTP server path and it connects without problems,  the problem appears when I assign the ArchivePath path, which is also inside the server. When I do that, I get an error which says that the pathway doesn't exists. I have tried not to specify the ArchivePath but when I enter a file  the business service does not process it

Can anyone answer why this is happening?


0 169
Discussion (2)1
Log in or sign up to continue

Hi Dani,

This class uses EnsLib.FTP.InboundAdapter, according to the documentation, this is the path on the Ensemble server to save a copy of each file received from the FTP server. That is not a FTP folder.

If you want to move the file processed into a FTP folder after processed, you should get the file from this folder and put it manually.

Have a look the link Using the FTP Inbound Adapter and Settings for the FTP Inbound Adapter

Have a nice day

Francisco López