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 / PAD - Get Files functi...
Power Automate
Answered

PAD - Get Files function unable to connect to Downloads folder (Error message: Source folder doesn't exist)

(0) ShareShare
ReportReport
Posted on by 8

Hi there,

 

Bit of a maddening issue I've come across. I've setup a flow which practically opens a web page and downloads a report to this computer (Windows 11)'s Download folder. The file is then renamed and moved to another local folder at which time the process ends.

 

At the moment I am running into an error where the Move File/ Get Files Action

Error locationSubflow: Main, Action: 41, Action name: Move file
Error messageSource folder doesn't exist
Error detailsMicrosoft.Flow.RPA.Desktop.Robin.SDK.ActionException: Source folder doesn't exist ---> System.IO.DirectoryNotFoundException: Could not find a part of the path.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.MoveFileAction.MoveFile(FileObject source, FolderObject destination, Boolean overwrite)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.MoveFileAction.MoveFile(FileObject source, FolderObject destination, Boolean overwrite)
at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.MoveFileAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 

This function gets all files within this folder (of which there is one file downloaded)

Screenshot 2022-01-14 202951.png

 

 

 

Which is passed as 'Files' to this action, of which we take the first file (i.e., at Index 0).

Screenshot 2022-01-14 203407.png

 

 

 

Anyone seen this one before? Have any ideas on how to trouble shoot this?

Thanks all in advance!

I have the same question (0)
  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    This sucks. I’m not sure what it is doing. Sometimes the downloads folder can be tricky. You can do all this with cmd prompts. I know it’s not ideal, but it is just as fast.

     

    just have PAD send the cmd.

     

    here is a site for some tips if you aren’t familiar with file commands in cmd:

     

    https://www.google.com/amp/s/www.digitalcitizen.life/command-prompt-how-use-basic-commands/

     

    good luck!

  • s0up2up Profile Picture
    8 on at

    Hi Michael,

     

    Ah never though of just writing a couple of powershell scripts as a work around. Great suggestion, have it back up and running.

     

    Kind regards,
    Brendan

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 389

#2
Vish WR Profile Picture

Vish WR 331

#3
David_MA Profile Picture

David_MA 298 Super User 2026 Season 1

Last 30 days Overall leaderboard