Open topic with navigation

# Enabling FTP

In order to use the FTP protocol, you need to enable it on the appliance and set a maximum directory size for the accumulated files.

1. Click Administration > Setup > System Admin from the top-level menu bar.

2. Click FTP under the Storage section.

3. From within FTP Settings, check the Enable FTP check box.

4. If your FTP client is behind a firewall and you need to limit the ports used for passive mode data transfer, check the Restrict port range... check box.

- Port Range allows you to set either an individual port (e.g., `12345`) or a single port range (e.g., `20001-20010`). Ensure any ports specified open on your firewall.

  Note: When choosing a port or port range, choose a port that is unlikely to already be in use. If a chosen port is already in use, . For this FTP data transfers will fail. For this reason, OpenText recommends using ports in the range of 10000 and above.

- The number of concurrent passive mode FTP clients is restricted to the number of ports specified. For example, if the specified range is 10 ports, then only 10 concurrent passive FTP clients can be transferring at the same time.

  Tip: Is FTP Running? verifies (Yes or No) that your FTP server is running successfully.

5. Enter a maximum directory size.

- The maximum directory size cannot be greater than the one allowed on your appliance model (see Models Supporting FTP).

- If you change the maximum size, it must be greater than the value in the Current Size field.

- Current Size includes `/opt/arcsight/incoming` and all underlying subdirectories.

- If the maximum you have set is exceeded, FTP stops automatically.

- Once the file limitation is back within range, FTP automatically restarts.

6. Enter a password.

   Caution: Anonymous FTP is not supported.

7. Click Save.

   - Only file `put` operations are supported by the FTP server. There is no capability to retrieve data from the appliance.

   - Data is processed faster and more efficiently when transferred in many small files instead of a few large files.

## Adding a Subdirectory

Based on naming convention, incoming log files from different devices can potentially conflict within the same directory. To prevent this, you can create subdirectories to separate them. This window also shows the current size of the subdirectory.

Tip: Creating subdirectories is a good practice, as it allows you to verify how much space is being used and to easily delete subsets of file data.

To add files to the subdirectory:

1. From within the appliance, go to Setup > System Admin > FTP.

2. In the Subdirectory window, click Add to name the subdirectory.

   The name appears in the window and displays its current size. Ensure that the directory name matches the one configured on the FTP server.

   Note: When naming subdirectories, the standard Linux directory naming conventions apply.