Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Copying a file from server to desktop



I'm using Power Automate Desktop (attended) to sign in to SSH, I then cd to a directory, and list the files in the directory.  I then run a script to capture specific file names into a .csv file. This I have automated all successfully.  Now I want to copy that file to my desktop.  I recorded myself copying the file, from a file manager that can see the file, to my desktop, but the flow keeps on failing.  


(Background: the task I want to automate is to trigger a flow in Power Automate which will look for a certain file in a certain directory on our server.  If it finds it, it needs to trigger certain processes depending on the file name.)


How do I get the file or it's content copied from a server to my pc, to transfer to sharepoint to build a flow via RPA later.


I'm using attended desktop flow, but eventually I want to move it all to unattended to run as a scheduled flow triggered as a scheduled task in RPA.


Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,785)