Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Extracting filename from data loading activity

Avatar

Level 3

Hi

I know that we can refer to vars.filename in a data loading activity to find the file name. However; this is uploaded filename and not the one listed in the parameters, plus this is mf5 hashed. How can we find out the actual file name which was used; and record this?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Ankur,

I'm not sure if there are ways to find back the original name. I'd recommend checking with support if there is a solution that can be put in place for that.

Florent

View solution in original post

5 Replies

Avatar

Community Advisor

Hi Ankur,

it's not very clear from your question what you want. can you share the workflow and highlight what you need?

are you uploading file resources or some csv file?

regards,

Amit

Avatar

Level 3

Hi Amit

I want to refer to the name of csv file being loaded in the data load activity; when i use vars.filename it refers to the name of the file after server upload (md5 hashed); is there a system variable which can be used to refer the actual csv file's name.

Avatar

Correct answer by
Level 10

Hi Ankur,

I'm not sure if there are ways to find back the original name. I'd recommend checking with support if there is a solution that can be put in place for that.

Florent

Avatar

Level 10

Hello Ankur,

Were you able to get an answer?

Florent

Avatar

Level 3

Yes; we wrote a script on the ftp activity and the next activity to pick and then chop the filename