cancel
Showing results for 
Search instead for 
Did you mean: 

timestamp in a text file

Former Member
0 Kudos

Hello All,

I am using Seeburger HostFTP adpter to post the text files on FTP server. I want to create each file with some unique name. Can we attach the time stamp to the file using HostFTP adapter, or is there any functioanality to create the dynamic file name.

Please share your inputs..

Thanks,

Amit...

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

.

abhay_rajhans2
Contributor
0 Kudos

Hi Amit,

I want to create each file with some unique name.

You can use message id for unique name.

Former Member
0 Kudos

Thanks for all your valuable inputs.

The problem got resolved by using the output filename as "filename_????????.txt"

Here, ???????? will generate an 8 char. unique id for each file.

Thanks

Amit..

Shabarish_Nair
Active Contributor
0 Kudos

use the dynamic configuration - /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name

but before that what are the adapter specific attributes supported by this particular seeburger adapter?

You will have to align your code in those lines

Former Member
0 Kudos

check below link,

/people/shabarish.vijayakumar/blog/2009/10/05/pixi-maintaining-sequence-numbers-in-file-name-scheme

regards,

Phani

Edited by: phani kumar on Jan 15, 2010 4:00 PM