cancel
Showing results for 
Search instead for 
Did you mean: 

writing timestamp on the content of file (not the filename) using FTP Adapt

Former Member
0 Kudos

Hi Experts,

Is it possible to write a timestamp (from the source server) to a target logfile if I'll use FTP Adapter?

Here the scenario:

Source:

source.log -> the contents is AAAA (the timestamp base from the server is [06/09/10 10:00])

- basically the source.log file is overwritten with the same content but the timestamp is changed so that's would be scenario

it will checked by the FTP adapter....

Target:

target.log -> the content of the file is 06/09/10 10:00

so probably if i have a target logfile I'll just have to append the file as this

06/09/10 10:00

06/09/10 10:02

06/09/10 10:04

06/09/10 10:06

06/09/10 10:08

06/09/10 10:10

If it's possible, how will I do this? Do I need script? or just normal settings of the FTP adapter?

R-jay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I've checked the configuration of the Sender Adapter (Adapter mentioning Set Adapter-Specific Message Attribute u2013 Source File Timestamp). How can I pass this timestamp to the target file in the Receiver?

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

Yes, is posibble. if i not wrong, you can do this ussing Dynamic configuration.

see those links

/people/ryan.crosby/blog/2009/02/27/file-xi-proxy-scenario--moving-binary-files-with-accompanying-filename-attribute-in-converted-xstring-format

http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm

Thanks

RP