Skip to main content

[CI/CD] FME Flow Api V4 and Ansible : An issue to upload file

  • November 19, 2025
  • 0 replies
  • 17 views

christelle
Contributor
Forum|alt.badge.img+7

Hello,

I want just to share a issue and the solution, I encountered with my CD pipeline.

  • The FME Flow : 2024.2.3
  • Ansible version below 2.19

The need : upload file in a ressource connection or upload fsproject file. But for specific reason I had to use Flow api V4.

FME Flow API

In Api V3, we can use the upload file in the body with these resquest

post /resources/connections/{resource}/filesys/{ path }

It’s support to set the file in the body for the upload a single file or the multipart form data. Both are available.

In api V4 the request to upload a file is :

Post /resources/connections/{connection}/upload

And for upload fsproject for import

Post /migrations/imports/upload

Both in api V4 support only the multipart form data.

Ansible

The module uri support the mulitpart form data that only from 2.19. And I have not the hand on the devops tool.

Solution

I use a curl command line with FME flow api v4.

Personnaly, I prefere the versatility of api v3. It’s sad that the api v4 reduce the possibility.