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 / Flow file transfers fr...
Power Automate
Unanswered

Flow file transfers from Sharepoint to on-prem servers

(0) ShareShare
ReportReport
Posted on by

Hi,
I need help with a Flow file transfers from Sharepoint to on-prem servers.

The Flow I created is to copy files from Sharepoint to on-prem servers via a gateway setup.

 

The Flow works fine if the files are new, an existing file being renamed but fails if the files are updated with new contents and new date stamps.

 

These are the rules I am trying to create:

 

IF a NEW FILE is added on Sharepoint OR IF FILE is rename on Sharepoint  OR IF FILE PROPERTIES are updated on Sharepoint

THEN COPY FILE to on-prem

ELSE

END

 

The part that is failing is when the file property(date, size & time) is updated but not renamed. The trigger does not process files with new date stamps or file sizes.

2022-08-15_121739b.png


Categories:
I have the same question (0)
  • Unknown geen idee Profile Picture
    1,757 on at

    Dear MrJ,

     

    There is possibly a better way to do this, but you could either check beforehand if a has the same filename, but different " date, size & time" or fails the update .... and then either rename the old file first and save the new file or vice versa.

     

    Hope this makes sense,

    Happy flowing.

    Koen

  • ajerovich Profile Picture
    17 on at

    Hi MrJ,

     

    There are mutliple trigger types based on what type of action is occurring.

    The one you are currently using is only for when a file is created (not modified, etc.).

    I would probably recommend creating several Flows based on the different event triggers.

    You could try the trigger "When Item or a file is modified" and then do a update step on the existing file.

    You can try the trigger "When a file is deleted" and "Delete file" step on the existing file.

    Make sure to test each one to ensure they are behaving as expected.

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard