Using the TimeStamp task

Looking for an example project to get you started?
1 post Page 1 of 1


User avatar
Support Specialist
Posts: 91
Joined: Thu Mar 05, 2009 3:49 pm
Location: Ashland, NE USA

Post by Support_Julie » Wed Jun 03, 2009 11:28 am
The following project is an example of using the TimeStamp task:
Code: Select all
<project name="TIMESTAMP DEMO" mainModule="Main" version="1.0" logLevel="debug">
	<module name="Main">
		<timestamp />
			<format outputVariable="today" pattern="yyyy-MM-dd" />
		<ftp resourceId="DEV 53">
			<put sourceFile="/gademo/payroll.xls" destinationFile="/gademo/linoma${today}.xls" />
			<![CDATA[The Current system time is:  ${system.currentTime}]]>
The TimeStamp patterns can be found in the GoAnywhere help text, or at

In the above example, the variable today is created. This variable can be used in naming a file.
Also the current system time is written to the GoAnywhere job log.
Julie Rosenbaum
Sr Support Analyst
e. [email protected]
p. 1.800.949.4696
1 post Page 1 of 1