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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Move specific files th...
Power Automate
Answered

Move specific files that have been downloaded

(0) ShareShare
ReportReport
Posted on by 26

Hi I'm in the process of building a flow that downloads multiple files from and web portal (the portal doesn't have an API), for the most part, the flow works fine, but I'm trying to refine it. 

there are a couple of steps in the flow, 1 is to click download on each file and then the file appears in the computer's c:\Downloads from then I'm using get files in a folder and move to a SharePoint. 

 

I'm trying to extract the file names from the portal and only select those files from the download folder. but this is throwing an error. I have a screenshot of what the filenames is returning. 

Magpie_Rob_0-1628077009713.png

 

after reading the hints in the get files from folder step it says I need to separate the files by semicolon, 

Magpie_Rob_1-1628077171667.png

 

Not sure if this is something I can do or if anyone has any suggestions it would be greatly appreciated! 

Thanks 

Rob

 

  • Verified answer
    tkuehara Profile Picture
    667 on at

    Hi @Magpie_Rob 

     

    You could try the following:

    1. Retrieve data table column into list
    2. Join text

    tkuehara_0-1628088354061.pngtkuehara_1-1628088379970.pngtkuehara_2-1628088404668.png

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    This might seem cumbersome, but I believe the "File Filter" parameter can only be 1 expression without listing out all the Filename[#s] separately with semicolons inbetween.

     

    Instead, I would do a Loop from %LoopIndex% 0 to %JSResult% increment of 1:

    In the loop, you could say Get Files -> File Filter: %Filename[%LoopIndex%]% to %File%

    Then, also in the loop; use "Add item to List" and Add %File% to %Files%

     

    Best of luck.

     

  • Magpie_Rob Profile Picture
    26 on at

    Hi @tkuehara, thanks for getting back to me! did you notice your JS scrip in the screenshot 🙈

     

    thanks for all your help this worked a treat! 

     

    Kudos and accepted as solution incoming! 

  • Magpie_Rob Profile Picture
    26 on at

    Hi @MichaelAnnis thanks for getting back to me! I did wonder if it was possible, lucky for me tkuehara's method worked! turns out your File Filter parameter can read from a list! 

    Thanks 

    Rob
     

  • tkuehara Profile Picture
    667 on at

    Hahahaa I didn't lol

     

    Happy to help and thanks for kudos & solution!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard