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

Current Timestamp being appended to the filename in File transfer activity

sreev97350841
Level 2
Level 2

Hello,

We have a workflow that downloads files from a SFTP location. The download is successful but the current timestamp gets appended to the filename. We want to keep the filename as is when the download happens. Is there any way to disable this?

Here's the screenshot..

1818075_pastedImage_0.png

Thanks

Sree

1 Accepted Solution
Jonathon_wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

Use execCommand() with sftp/scp on the shell instead of File transfer activity.

It's more secure (can use keys) and doesn't have quirks.

Thanks,

-Jon

View solution in original post

3 Replies
Jonathon_wodnicki
Correct answer by
Community Advisor
Community Advisor

Hi,

Use execCommand() with sftp/scp on the shell instead of File transfer activity.

It's more secure (can use keys) and doesn't have quirks.

Thanks,

-Jon

View solution in original post

adithyacs86
Level 5
Level 5
Hi Jon, I have the same query, the reason we have to move out of exec command is the shell script we mention the credentials from options, which users should not see the password which is per the compliance. Hence can we use sftp activity by not adding the timestamp at the end of the file