r2 - 22 Nov 2005 - 09:14:15 - SooGuanYou are here: TWiki >  Main Web  >  ElixirReport > ElixirReportServerCookbook > Targets

Targets

A target is a point which the server can direct the output report to. It may be a physical file location accessible by the report server or a stream based reply target which return the report stream to the client.

SFTP Target (since version 5.1.1)

SFTP is a secure FTP client to allow the server to direct a report output to SSH server.

To allow SFTP you may add a new entry to the ERS2-Config.xml to the config directory.

<ers:target name="sftp" class="com.elixirtech.ers2.target.SFTPTarget" description="Target using SFTP>

<ers:property name="user">User name</ers:property>

<ers:property name="password">My password</ers:property>

<ers:property name="host">host or server</ers:property>

<ers:property name="port">22</ers:property>

<!-- current location of login may be another path /public_html etc -->

<ers:property name="dir">.</ers:property>

<ers:property name="filename">myreport</ers:property>

</ers:target>

The target is called at the client by using the target name i.e. sftp, as specified in the above configuration.

-- SooGuan - 17 Nov 2005

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback