Expand my Community achievements bar.

SOLVED

Current Timestamp being appended to the filename in File transfer activity

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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

Avatar

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