CreateEntries uses actual paths. You need to use the CreateEntry method with a prefix concatenated to actual file or folder name.
In your case, you need to implement a recursive or queue-based traversal algorithm: visit root (myfolder), visit its leaves (files), then visit branches (subfolders), making each branch the new root for the next level. Let me know you if you need assistance.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.