on 08-03-2016 2:04 PM
Hello Experts,
Greetings for the day!!
My scenario is file to file pass through with Sender as SFTP adapter and receiver as a FILE adapter. Now my current requirement is as soon as the file gets picked up by SFTP adapter, the file should be archived in folder with time stamp as YYYYMMDD-HHMMSS-mmss(milliseconds) followed by file name ABC.txt. i e in archive folder the file should look like YYYYMMDD-HHMMSS-mmss(milliseconds)_ABC.txt. But unfortunately, the file is being archived with ''1469790725923-ABC.txt"which is not correct. I have provided the following settings in the channel.
Also SFTP ASMA Settings – Time stamp checked / not-checked makes no difference 😕
The %START property just adds a time stamp in milliseconds.
Would request you to kindly help on the same so that i can proceed further.
Thanks in advance!!!!
Many Thanks,
Best Regards,
Prashanth Bharadwaj Ch.
Hello Prashanth,
try to use %TS variable instead of %START.
Best regards,
Vadym
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vadym,
Curious to know are these parameter list documented anywhere ?
Because i dont see %TS in the list mentioned in this below SAP document.
Br,
Manoj
Hello Vadym,
Thanks for your answer. working absolutely fine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Prashanth,
Could you check note 1876228 - Add timestamp to filename while archiving on PI/SFTP server -> Solution section.
Best regards,
Bence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try with %TIME
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.