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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power automate Desktop
Power Automate
Unanswered

Power automate Desktop

(1) ShareShare
ReportReport
Posted on by 17

hello!


1. I am downloading the image from the url as WebPageText. 
2. It then converts this photo to binary data. 
3. Then I want to load binary data to SharePoint.
However, it doesn't work.

 
In case
1. I download the photo from the url as DownloadFile. 
2. Saves the file to your local disk 
2. It then converts this photo to binary data. 
3. Then I want to load binary data to SharePoint.

It all works.
How to skip saving a file to disk?




Web.DownloadFromWeb.Download Url: $'''wwww.testtest_45k5bj.jpg''' ConnectionTimeout: 30 FollowRedirection: True ClearCookies: False UserAgent: $'''Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20100312 Firefox/3.6''' Encoding: Web.Encoding.AutoDetect AcceptUntrustedCertificates: False WebPageText=> WebPageText
File.ConvertToBinary File: WebPageText BinaryData=> BinaryData

 
Categories:
I have the same question (0)
  • Suggested answer
    Robu1 Profile Picture
    1,450 Super User 2025 Season 2 on at
    Power automate Desktop
     
    Thank you for choosing Microsoft Community.
     
    To skip saving the file to disk and directly upload the binary data to SharePoint, you can follow these steps:
     
    Download the Image as WebPageText: Use the Web.DownloadFromWeb action to download the image from the URL as WebPageText.
     
    Convert to Binary Data: Use the File.ConvertToBinary action to convert the WebPageText to binary data.
     
    Upload to SharePoint: Use the SharePoint.UploadFile action to upload the binary data directly to SharePoint.
     
    This way, you can avoid saving the file to disk and directly upload the binary data to SharePoint. 
     
    Check this documentation out: 
     
     
    If this Post helped you, please click  "Does this answer your question" and like this post to help others in the community find the answer too!
     
    Happy to help
     
    Robu 1

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard