cancel
Showing results for 
Search instead for 
Did you mean: 

How to add timestamp to file name in SFTP Receiver CC

Former Member
0 Kudos

Hi Experts,

I am new using SFTP adapter.

My scenario is proxy to SFTP.I want to know how to add timestamp for the filename that is going to SFTP server.

There is no option like add timestamp in SFTP receiver CC.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi sandhya,

In the seeburger receiver channel please add the following module -

Under Processing sequennce -

Module Name - localejbs/Seeburger/AttribMapper

and in the below module configuration give the parameter name as http://seeburger.com/xi/SFTP/dtubject

and in the parameter valueu can hard code the filename as per your choice

"YourOwnChoice_" & GetDateTime("yyyyMMdd_HHmmssSSS") & ".txt"

here the GetDateTime function will generate the tiemstamp and u can append it your filename anywhere.

In addition to the above, you need to tick the checkbox use "dynamic attributes"and also tick the chekcbox "Subject".

Note - Uncheck the use non-empty attributes box then only it shows you all the dynamic attributes,

Regards,

Narayanareddy B

former_member217888
Participant
0 Kudos

Hi Narayana,

I followed the steps you mentioned in my Seeburger SFTP Receiver Channel.

I only have one doubt now. What needs to be filled in below highlighted fields in the channel?

Thanks

Neha

Answers (1)

Answers (1)

engswee
Active Contributor
0 Kudos

Hi Sandhya

There is such an option under the Processing tab.

You can check item 10 in the SAP Library link below:-

https://help.sap.com/saphelp_nwposc/helpdata/en/c5/56eb8e7ec04435a0d54d96a18231e5/content.htm

See the screenshot below too.

Rgds

Eng Swee

Former Member
0 Kudos

Hi Eng Swee,

Thanks for your reply.There is no processing tab in the SFTP receiver CC in my case.

please find the below screenshot.

Thanks & Regards,

Sandhya.

Former Member
0 Kudos

Hi Sandhya,

Under Parameters there should be more Tabs? Please can you send a screenshot of the entire screen? It will be on the second Tab under Paraters.

Regards,

Jannus Botha

engswee
Active Contributor
0 Kudos

Hi Sandhya

Looks like you are using Seeburger's SFTP adapter. The previous reply was for SAP's SFTP adapter.

I don't have access to Seeburger's SFTP adapter on the system, but according to the manual, there should be such an option under parameter "Transfer type". Please find below a snippet from the manual for Seeburger's SFTP adapter.

From the sample screenshot in the manual, it might be the "Transfer mode" parameter.

Can you try to locate the corresponding parameter and set it accordingly?

Rgds

Eng Swee