web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create flow to grab fi...
Power Automate
Unanswered

Create flow to grab files from FTP and place in Sharepoint

(0) ShareShare
ReportReport
Posted on by 18

I've been trying to get a flow that will grab all files with a folder from an external FTP server and place within a folder in Sharepoint. So far it has been a struggle. I was able to find one that is close to what Im looking for but get and error when on the last step of the flow. I have attached an image of the current flow I'm working with.

 

FTP.JPG

 

 

So far not much luck trying to get that to work. I also tried another method but this only works when I run a test and not automatically. Here is that flow

FTP2.JPG

 

If there is any advice on what I can do to get this working that would be amazing! 

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    11,681 Super User 2025 Season 2 on at

    Try editing the flow so that it has only one Apply to each loop:

    2021-10-19_23-39-06.png

     

    For the trigger When a file is added or modified, the trigger does not fire if a file is added/updated in a subfolder


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • surlesc Profile Picture
    18 on at

    Thanks for the reply and tip. I've tried adding a step straight from "get file content" section but when I try to populate file name in the "create file" section it adds the second loop automatically. Am I doing something wrong?

  • Ellis Karim Profile Picture
    11,681 Super User 2025 Season 2 on at

    Here is an other example of a working flow. It lists files from an FTP site, and saves files that are of type text to a SharePoint site:

     

    2021-10-20_13-26-34.png

    Can you try using the Display Name from the dynamic content (although Name should work fine)?

    2021-10-20_13-29-28.png


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • surlesc Profile Picture
    18 on at

    I created a flow similar to the one you last posted and got an error when at the apply to each step. Here is the error I received:

     

    flow-error-2.JPG

     

    Here is the flow I made that is similar to your except using a recurring trigger.

     

    flow2.JPG

     

    I am using Box.com to FTP from so not sure if that could be causing the error but I haven't had issue normally FTPing into it. Any advice on why the apply to each is erroring?

  • surlesc Profile Picture
    18 on at

    Have you run this and it worked successfully?

  • Ellis Karim Profile Picture
    11,681 Super User 2025 Season 2 on at

    Yes, the flow runs fine as along I remember to delete the files from SharePoint before re-running:

    2021-10-22_18-17-26.png

    2021-10-22_18-24-31.png

    2021-10-22_18-15-33.png

    If you want to try out the same flow, the site and connection I am using for demo flow is:

    2021-10-22_18-20-48.png

    Username – anonymous
    Password – your complete email address (e.g. yourname@yourname.com) or just use anonymous.

     

    Ellis

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard