web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Include file content i...
Power Automate
Answered

Include file content ignored - sFTP to Sharepoint

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Greetings, 

 

I'm facing a problem with a flow getting new CSV files from a SFTP and uploading it to a Sharepoint folder. 

It used to work but since a few days it's uploading a zero kb file to sharepoint, even if the document on sFTP is not empty. 

 

I also noticed that the "Include file content" parameter is set on "ON", but when I'm looking at the log it's "OFF" when the flow runs. 

 

Do you have any clue on how to make it work?

 

thanks a lot !!

 

Categories:
I have the same question (0)
  • richardB1 Profile Picture
    21 on at

    I've got a Flow doing the same, I've had no issues with it. 

    Are you seeing the File Contents in the Flow run history?

  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share a screenshot of the configuration of your flow?

    Could you please share more details about the Flow run history which contain the "Include file content" parameter is set on "OFF"?

     

    Please take a try to create a new flow to see if the issue still exists.

     

    Please share more details so we would try to provide a proper workaround for you.

     

    Best regards,

    Alice

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, 

     

    Thanks a lot for your quick answers! 

    Please find below screenshots of the flow, and result. I already tried to re-create from scratch, waiting for result.

     

    As you can see in the screenshots below, the flow indicates "Include file content YES", but the results is returning a "No". Also even if the file size is not 0kb on the sFTP the results on Sharepoint is 0kb. 

     

    Thanks again for your kind help,

     

    Flow setup : 

    Flow setup.png

    Flow test result :  

     

    Flow result part 1.png

     Flow result 

     Flow result part 2.png

     flow result 3.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Me again, 

     

    I recreated the whole Flow, and it has finaly worked. 

    I would be curious to understand what has happened, and make sure it doesn't happen again.

     

    thanks!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard