{"action":"closed","issue":{"url":"https://api.github.com/repos/OfficeDev/PnP/issues/371","labels_url":"https://api.github.com/repos/OfficeDev/PnP/issues/371/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/PnP/issues/371/comments","events_url":"https://api.github.com/repos/OfficeDev/PnP/issues/371/events","html_url":"https://github.com/OfficeDev/PnP/issues/371","id":53956142,"number":371,"title":"Easier upload to sub folders in libraries","user":{"login":"VesaJuvonen","id":7446437,"avatar_url":"https://avatars.githubusercontent.com/u/7446437?v=3","gravatar_id":"","url":"https://api.github.com/users/VesaJuvonen","html_url":"https://github.com/VesaJuvonen","followers_url":"https://api.github.com/users/VesaJuvonen/followers","following_url":"https://api.github.com/users/VesaJuvonen/following{/other_user}","gists_url":"https://api.github.com/users/VesaJuvonen/gists{/gist_id}","starred_url":"https://api.github.com/users/VesaJuvonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VesaJuvonen/subscriptions","organizations_url":"https://api.github.com/users/VesaJuvonen/orgs","repos_url":"https://api.github.com/users/VesaJuvonen/repos","events_url":"https://api.github.com/users/VesaJuvonen/events{/privacy}","received_events_url":"https://api.github.com/users/VesaJuvonen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OfficeDev/PnP/labels/Enhancement...want%20to%20help?","name":"Enhancement...want to help?","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-10T12:00:50Z","updated_at":"2015-12-16T20:30:44Z","closed_at":"2015-12-16T20:30:44Z","body":"From Yammer group.\r\nQ - \"Using the PnP for the O365 branding. What would be the best recommendation around loading files into subfolders (e.g. files\\styles\\blue\\blue.css), it doesn't seem that the current PnP caters for this type of scenario. I am busy modifying the functions to cater for it, but just want to hear others thoughts..\"\r\n\r\nA - \"That is good feedback and we should indeed improve this in the Core component to have capability for more simpler sub folder targets. Right now you would have to loop through the folders by yourself in CSOM. \r\n\r\nIt would be great if we would have capability to simply provide target folder path for example simply with string \"files\\syles\\blue\" and the method would hide the complexity to check folder existence and possible creation if it's not there. \""}}