Skip to main content
Question

Integration SFTP date and other variables

  • August 28, 2026
  • 1 reply
  • 21 views

Sandy B
Apprentice Author
Forum|alt.badge.img

Hello,

 

I would like to automate data imports from a transaction list via an SFTP connection. My SFTP connection is working properly.


Issue 1: Variable date

When I use the “Fixed file” option with the file path and name “ZME2K_20260828_0018BSQz.P0J.csv” it works.

However, when I try to use the “Most recent file” option with the file path and name “ZME2K_{{date}}_0018BSQz.P0J.csv” no file is found. Pigment documentation specifies that the “ISO-8601” standard is accepted (with or without “-”). However, article only provides the example with a hyphen. I use a YYYYMMDD format. Did I do something wrong? 

https://kb.pigment.com/docs/connect-sftp-server.

 

Issue 2: Other variable

This same transaction list must be populated from several separate files with the same structure, originating from different departments (existing “department” dimension).

I understand that I must create a connection for each file (i.e., for each department), and that only the file date can be varied. This system seems a bit cumbersome to me. I’m encountering technical issues when trying to export my data into a single file (due to file size limitations). Do you have any advice for me?

 

Thank you in advance

1 reply

Forum|alt.badge.img+3
  • Employee
  • August 31, 2026

Hey there Sandy!

 

The Most recent file option doesn’t currently support the compact YYYYMMDD format. Please use a supported format such as YYYY-MM-DD, for example:

 

ZME2K_2026-08-28_0018BSQz.P0J.csv

 

Then configure the path as:

 

ZME2K_{{date}}_0018BSQz.P0J.cs

 

Currently, {{date}} is the only supported filename variable. For multiple department files, we recommend creating a separate import configuration for each file pattern and loading them into the same Transaction List. This avoids having to consolidate the files when file size is an issue.

 

You can find the supported date formats and configuration examples in the public SFTP documentation.