Hi @AndriiKa,
Could you please share a screenshot of your flow’s configuration?
Do you want to copy all files of a SharePoint library to FTP Server folder?
Or copy the file to FTP Server folder when a file is created in SharePoint library?
Further, do you want to automatically create the folder structure and copy the file into it? Is it true?
Creating a folder action of FTP Connector is not supported in Microsoft Flow currently, but you could consider take a try with the following workaround:
- Add a “When a file is created or modified (properties only)” trigger.
- Add a “Get file metadata” action, File Identifier field set to Identifier dynamic content of above trigger.
- Add a “Get file content” action, specify Site Address, File Identifier field set to Identifier dynamic content of the trigger.
- Add a “Create file” action, Folder path set to following formula:
/Folder path dynamic content of the trigger
File name set to DisplayName dynamic content of “Get file metadata” action.
File content set to File Content dynamic content of “Get file content” action.
Image reference:
Best regards,
Kris