Sharepoint Subfolder download

%3CLINGO-SUB%20id%3D%22lingo-sub-1419549%22%20slang%3D%22en-US%22%3ESharepoint%20Subfolder%20download%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1419549%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20download%20sharepoint%20subfolder%20with%20all%20of%20its%20contents(basically%20folders%2Ffiles)%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fpastebin.com%2F3ZmPHMFY%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20ugc%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpastebin.com%2F3ZmPHMFY%3C%2FA%3E%3C%2FP%3E%3CDIV%20class%3D%22_3xX726aBn29LDbsDtzr_6E%20_1Ap4F5maDtT1E1YuCiaO0r%20D3IL3FD0RFy_mkKLPwL4%22%3E%3CDIV%20class%3D%22_292iotee39Lmt0MkQZ2hPV%20RichTextJSON-root%22%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EWith%20the%20Script%2FFunction%20above%20from%20the%20link%2C%20I%20have%20been%20able%20to%20specify%20folder%20%22Shared%20Documents%22%20on%20a%20site%20page%20and%20get%20all%20subfolders%20and%20files%20within%20it%20however%20struggling%20to%20get%20to%20desired%20subfolder%20and%20get%20it's%20subfolders%20and%20files%20from%20it%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EMy%20requirement%20%3A%20Sharepoint%20has%207%20Subfolders%20for%20my%20destination%20subfolder%20where%20it%20has%20Month%20wise%20SubFolders%20again%20lets%20say%20Jan%2020%2C%20Feb%2020%2C%20Mar%2020%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EI%20am%20interested%20in%20downloading%20the%20files%20from%20these%20month-wise%20subfolders%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EI%20want%20to%20exclude%20unwanted%20files%2Ffolders%20such%20as%20%22Forms%22%20or%20%22Documents%22%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EI%20tried%20the%20below%20script%2Ffunction%20as%20well%20and%20it%20doesnt%20get%20me%20anything%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3E%3CA%20href%3D%22https%3A%2F%2Fpastebin.com%2FDg4ZSdfy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpastebin.com%2FDg4ZSdfy%3C%2FA%3E%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EPlease%20help%20me%20as%20I%20feel%20I%20am%20stuck%2Fmissing%20something%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EThanks%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EArcher%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22_1hwEKkB_38tIoal6fcdrt9%22%3E%3CDIV%20class%3D%22_3-miAEojrCvx_4FQ8x3P-s%22%3E%3CDIV%20class%3D%22_1UoeAeSRhOKSNdY_h3iS1O%20_3m17ICJgx45k_z-t82iVuO%20_2qww3J5KKzsD7e5DO0BvvU%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1419549%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

Hi All,

I am trying to download sharepoint subfolder with all of its contents(basically folders/files)

https://pastebin.com/3ZmPHMFY

With the Script/Function above from the link, I have been able to specify folder "Shared Documents" on a site page and get all subfolders and files within it however struggling to get to desired subfolder and get it's subfolders and files from it

 

My requirement : Sharepoint has 7 Subfolders for my destination subfolder where it has Month wise SubFolders again lets say Jan 20, Feb 20, Mar 20

 

I am interested in downloading the files from these month-wise subfolders

 

I want to exclude unwanted files/folders such as "Forms" or "Documents"

 

I tried the below script/function as well and it doesnt get me anything

https://pastebin.com/Dg4ZSdfy

 

Please help me as I feel I am stuck/missing something

Thanks

Archer

 
0 Replies