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 / Help building a flow t...
Power Automate
Unanswered

Help building a flow to copy file from OneDrive to SFTP

(0) ShareShare
ReportReport
Posted on by

I have a flow that creates a new file in OneDrive Business from an EMail attachment I receive each day. Works fine!   

Now I want to SFTP that file, each time a new file is created in the OneDrive folder, to AWS SFTP E2 instance.   I receive the file at 4:00 AM each morning but the AWS connection is not open until 7:00AM so I will need to delay the copy of the file to AWS until the connection is open.  Would I use "When a file is created" -> "Delay until" -> "Get file content" -> "Create File SSH" Keep in mind that the filename changes each day to include the current date.    Thank you 

 

Any help is much appreciated.  

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    Could you tell us where you are stuck? It seems that you have taken the appropriate steps to configure Flow.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    The SFTP-SSH gets a message "Test connection failed.  Details: BadGateway".  When I use terminal and manually enter commands it works.  

  • v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    Please refer to this article and see if it helps:

    https://blog.neilsabol.site/post/microsoft-ms-flow-sftp-connector-tips-tricks-errors/

     

    Best Regards,

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard