# Store Stock Feed Documentation

**Disclaimer:** These instructions apply only to the **live** environment. For assistance with setup in other environments, please contact support.

Users can set up a Stock Counts Report feed that will be sent to a FTPS destination server managed by the user.

Users will first need to set up the destination FTPS server, which can be done in **Store Settings > Integrations**.

![](/files/ujKF4jdwmvKhN1zUU6te)

Please note:&#x20;

* The URL should include the username and password for the FTPS user.
* The user must include the path that they want the files to be sent to.
* The format should be in this format: “**ftps\://username:password\@hostname/directory**”.
* The hostname can be either a public IP “203.0.113.45” address or a normal hostname “example.com”.
* Only FTPS servers are allowed to be entered as a destination server for security reasons.

**User Responsibility**:

**Please note that this step is managed by the user and not by KNAPS.**

* The SSL certificate used should not be self-signed, as this may expose the user to Man in the Middle attacks.&#x20;
* The FTPS destination server must allow the following inbound rules:
  * Allow TCP requests for the following port range 40000 - 40010.
    * Note that your passive mode configuration needs to be updated to reflect this at the FTPS server configurations level.
    * An alternative approach is to allow inbound traffic for KNAPS public IP address across the full range of ephemeral ports 1024 - 65535. This approach does not require configuration changes to the FTPS server configuration.
  * Allow TCP requests for the following port range 20 - 21.

Clicking on “Validate and Save” will start a validation process that includes sending a test signal to the destination server to see if it accepts requests. A message will be displayed if the validation fails.

After validating and saving the destination server, the entered link in its entirety will be saved. If the user wishes to change any of the details of the provided link they must delete the Destination Server and enter a new URL.

![](/files/EqWlcpG6JHlrKYpnIQxm)

Note that only the entered hostname or IP address will be displayed in the settings to avoid exposing the username, password, and the path where files are saved, as these are sensitive pieces of information.

**Scheduling the Stock Count Report Task:**

**Please note that you should have your destination server specified and configured via Store Settings at this point.**

Users can go to the Stock Counts Report and follow these steps to create a scheduled task that will send the results of the report to the server:

1. Navigate to the Stock Counts Report screen.
2. Fill in the desired filters.
3. Click the Schedule Report button.
4. Provide a name for the task.
5. Select a frequency (this determines how often the task should run).
6. Click on the Save button.

![](/files/jVUgKDofXrlUh53PLllm)

Users can click on the Schedule Report button again to reopen the modal if they wish to delete the task they created or replace it with another one.

![](/files/7eoZQ6cQtyiEndZOS1ad)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpv2.knaps.io/user-guide/store-stock-feed-documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
