I've tried the "wget --no-check-certificate 'https://my.sharepoint.com/cid=6EBB03E38A53ED3E?donwload=1" -O name' " to download a folder from OneDrive business. But it turns out that this approach only works for downloading a single file, but not a folder. Can anyone help me with this?
Asked
Active
Viewed 4,533 times
1
-
1Is "donwload " a typo for download? – Jeff Schaller Oct 07 '19 at 17:08
-
Have you tried `wget -r --no-parent ....`? – kemotep Oct 07 '19 at 17:17
-
Sorry, it's typo. – Lynn Oct 07 '19 at 17:22
-
Yes, I've tried -r --no-parent, but it doesn't work, thanks. – Lynn Oct 07 '19 at 17:23
-
1relating https://unix.stackexchange.com/a/344721/117549 – Jeff Schaller Oct 07 '19 at 17:32
-
@Lynn you may need to export your cookies and reference that in a cURL command to be able to download folders as outlined [here](https://stackoverflow.com/questions/24924014/download-file-folder-from-sharepoint-using-curl-wget-automatically). – kemotep Oct 07 '19 at 17:37
-
Tried, thanks, but it doesn't work. – Lynn Oct 07 '19 at 20:32
-
I've tried the cookies, but it doesn't work, I guess it's because mine is business version, but personal. Thanks. – Lynn Oct 07 '19 at 20:33