SFTP but in Local Directory?
Is it possible to use SFTP adapter but only poll files from the local directory i.e. (c:/files/filefolder/filename.xml)?
I have a scenario wherein I want to use RegEx for file polling. However, I researched that it is impossible with FTP/FTPS (only * and ? works). The only resort then is to use SFTP adapter however, I don't know if it's possible to poll files only from the directory and I don't have a file server for example.
VISHNU VARDAN REDDY replied
No, we can't use SFTP adapter for this requirement.
SFTP adapter will be used to pull the file from a sftp server.
You need to mount this local directory on to PI server, and use file adapter with Transport protocol as NFS and configure accordingly to poll and pull the files.
For mounting, please check with your basis team.