Download CSV file from FTP server

I want to update stock and price for my products automatically. The supplier provides a CSV which is update every 60 minutes through FTP.

I successfully connected to the FTP-server to get the file. But I can’t see it’s content and I’m lost.

How can I see the content of the file, so that I can map it to update my products in my store?

Welcome to the Make community!

You can use the FTP “Get a file” module to download the file.

Screenshot_2024-03-12_170322

If you need further assistance, please provide the following:

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Input/Output bundles

Please provide the input and output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Screenshot_2023-10-06_141025

A.

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading them here will look like this:

module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

Yes, I use the FTP Get a File, but the data is empty. See below requested information.

blueprint.json (14.4 KB)

Input Bundle

[
    {
        "filePath": "/export/VRD_export_Goessens.csv"
    }
]

Output Bundle

[
    {
        "id": "VRD_export_Goessens.csv",
        "fileName": "VRD_export_Goessens.csv",
        "fileSize": 42288,
        "mimeType": "text/csv",
        "dateUpdated": "2024-03-12T09:30:29.000Z",
        "filePath": "/export/VRD_export_Goessens.csv",
        "date": "2024-03-12T09:30:29.000Z"
    }
]

If there’s no data, it might be a bug. Please contact support for more information.

2 Likes