Download file from Teams sharepoint site

조회 수: 3 (최근 30일)
Lijun Zou
Lijun Zou 2021년 2월 3일
편집: Kiran Felix Robert 2021년 2월 9일
I have Matlab 2015a. Here I use websave to download files on Teams sharepoint site (the link is https://***.sharepoint.com/teams/****). The error message I got is
Error using websave (line 86)
The connection to URL 'https://********************.xlsx' timed out after 5 seconds. Set options.Timeout to a higher value.
I got the same error after I increased the timeout value. I have a coworker and he used C# to upload file. He said that he need to put in user password when uploading files. I suspect that I need to do the same too. Any suggestions how to do that in websave function?

답변 (1개)

Kiran Felix Robert
Kiran Felix Robert 2021년 2월 9일
편집: Kiran Felix Robert 2021년 2월 9일
Hi Lijun,
Website with log-ins that use basic or digest HTTP authentication (i.e. no encryption) can be logged into via the 'websave' command by specifying the 'Username' and 'Password' fields in the 'weboptions' argument.
Websites that use other kinds of HTTP authentication are not currently supported.

카테고리

Help CenterFile Exchange에서 Measurements and Spatial Audio에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by