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 / Moving network share f...
Power Automate
Unanswered

Moving network share files to Sharepoint while avoiding overwrites

(0) ShareShare
ReportReport
Posted on by 10

Hi! I have a flow that monitors a network folder and copies any new files to a Sharepoint folder. It works great, I used a template from Microsoft. I'm having two problems with it. First, if a file exists in the destination with the same name, the flow overwrites the existing file, I'd like the new file to be renamed, appending the name with consecutive numbers or the date or something like that and not overwrite. Second, I'd like to delete the source file after the copy action. Here is my flow.

Flow.png

Categories:
I have the same question (0)
  • Tristan_D Profile Picture
    400 on at

    Hi @momalle1 !

    You are actually almost there ! I would suggest you to use 2 libraries, one for the "landing" another one which will be the "final destination" one.

    You would have to create your file, copy it using the most relevant option for you : 

    Tristan_D_0-1713547320182.png


    Then deleting the file from the landing library :

    Tristan_D_1-1713547340448.png



    Let me know if it helps.

    T

  • momalle1 Profile Picture
    10 on at

    Thank you Tristan, I will get back to you!

  • momalle1 Profile Picture
    10 on at

    Thanks Tristan, it took a while, but I finally got it using your separate landing tip!

  • momalle1 Profile Picture
    10 on at

    FullFlow.jpg

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 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard