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