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