Skip to main content

Notifications

Power Automate - General Discussion
Answered

Include file content ignored - sFTP to Sharepoint

(0) ShareShare
ReportReport
Posted on by

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:
  • Re: Include file content ignored - sFTP to Sharepoint

    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!

  • Re: Include file content ignored - sFTP to Sharepoint

    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

  • Verified answer
    v-yuazh-msft Profile Picture
    v-yuazh-msft on at
    Re: Include file content ignored - sFTP to Sharepoint

    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

     

     

  • richardB1 Profile Picture
    richardB1 21 on at
    Re: Include file content ignored - sFTP to Sharepoint

    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?

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,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard