##### To FTP

This tab is for you to specify settings for sending report set results to an FTP site. Note that in order to use the Publish to FTP feature, your JDK version must be 1.5 or later. See the tab.

FTP To

Lists the FTP sites you send report set results to.

New

Creates a new FTP site.

- FTP Site Name
  A user-defined name of the FTP site. It is optional.
- Host Address
  The domain name or IP address of the FTP site. It cannot be null.
- Port
  The port of the FTP server. It is optional, and by default 21 is used for Standard FTP and Explicit FTPS, 22 SCP and SFTP, and 990 for Implicit FTPS.
- User Name
  The user name is valid to the authentication of the FTP server that can access the FTP site. If not specified, "anonymous" will be used as the user name by default.
- Password
  The password is valid to the authentication of the FTP server that enables the user name to access the FTP site.
- Account
  The account of the FTP user if there exists.
- Folder Location
  The location where to put the report set result files on the FTP server. If not specified, the root path "/" of the FTP server will be used by default.
- Handler Class
  A customized FTP-client handler class can be used instead of the one provided in JReport. You should specify a fully-qualified class name that is package name plus class name, for example, test.DemoJakartaFTPHandler.
- Protocol Type
  Specifies the protocol type used for publising the report results to FTP.
  - FTP (Standard File Transfer Protocol)
    Files are transferred in a non-secure (plain text) style.
  - SFTP using SSH2 (Secure Shell)
    SFTP (Secure FTP) is a component of Secure Shell and is supported by most Unix servers running SSH2. Ask your server administrator about availability.
  - SCP (Secure Copy)
    This is a means of securely transferring computer files between a local and a remote host or between two remote hosts, using the Secure Shell (SSH) protocol. If this type is selected, you will not be able to create folder to the FTP server.
  - FTP with TLS/SSL (Explicit)
    Explicit connection type of FTP security with TLS/SSL.
  - FTP with TLS/SSL (Implicit)
    Implicit connection type of TP security with TLS/SSL.
- Formats
  Specifies in which formats to send the report set result file to the FTP site. You can specify one or more formats. For each format, you need to specify a name for the result file.
  - JReport Result
    Sends the report set result in a JReport result file to the specified FTP site.
    - Zip Result
      Specifies to compress the result and its size would be smaller.
    - Precision Level
      Specifies the precision level with which to publish the report set result. Note that changing the default value may cause abnormalities in report layout.
  - HTML
    Sends the report set result in an HTML file to the specified FTP site.
  - PDF
    Sends the report set result in a PDF file to the specified FTP site.
  - Excel
    Sends the report set result in an Excel file to the specified FTP site.
  - Text
    Sends the report set result in a Text file to the specified FTP site.
  - RTF
    Sends the report set result in a RTF file to the specified FTP site.
  - XML
    Sends the report set result in an XML file to the specified FTP site.
  - PostScript
    Sends the report set result in a PostScript file to the specified FTP site.
- Check Connection
  Checks whether to be able to connect to the specified FTP location with the specified user account.
- OK
  Retains the settings and adds the FTP site into the FTP To list.
- Cancel
  Cancels the creation of the new FTP site.

Edit

Edits the specified FTP site in the FTP To list.

Delete

Deletes the specified FTP site from the FTP To list.