Skip to content

download_files_with_subfolder.py downloading Documents to root folder #3

@CosmaP

Description

@CosmaP

Hi,

When I use download_files_with_subfolder.py to download the folder structure and files from SharePoint I am finding that it downloads the files in "Shared Documents" to the folder I specify, but all other folders are created in the root of the drive.

I have tested on both Windows 10 and on a Linux machine (running PiOS).

Stepping through the code it looks like PurePath is mangling the file path so when it tries to create the folders it puts them in the root. In the case of windows, c: and on Linux .

Any idea's?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions