Skip to Content
Dec 15, 2018 at 03:55 PM

Rename FileName @SFTP Receiver Adapter

1413 Views Last edit Dec 17, 2018 at 06:05 AM 2 rev

My Scenario: Proxy-to-SFTP(Flat File+PGP Encryp)

We need to create target file with extension .txt.pgp with PI Timestamp.

Expected Target FileName = <abc>_<YYYYMMDDHHMMSS>.txt.pgp

Now challenge is how to change PI timestamp format from YYYYMMDD-HHMMSS-SSS to YYYYMMDDHHMMSS

SFTP Receiver adapter is adding Timestamp between .txt.pgp (i.e <abc>.txt<YYYYMMDD-HHMMSS-SSS>.pgp)