Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Download file from SFTP to Sharepoint if not exisits

(0) ShareShare
ReportReport
Posted on by

Hey there,

So, my flow's doing its thing - creating files when they're not in the SharePoint folder yet. But, it's throwing me a "Flow failed" message every time (I suppose because it tries to create files even if they exist and fails), and I'm not too sure it's gonna keep chugging along like this without hiccups.


Capture d'écran 2024-05-08 214216.png

Here's the plan:

  1. Start by listing out the file names in the SFTP (FtpNames) and initialize it.
  2. Then, list out the file names in the SharePoint folder (SharepointNames) and initialize it.
  3. Now, for each file name in FtpNames, I want to check if it's in SharepointNames.
    • If Yes do nothing
    • If No -  go ahead and create that file.

Seems straightforward, right? But, I'm hitting a wall trying to put it into action. Any pointers or help would be awesome!

Thanks a bunch!

 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,691

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard