{"action":"opened","issue":{"url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/23","repository_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python","labels_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/23/comments","events_url":"https://api.github.com/repos/OneDrive/onedrive-sdk-python/issues/23/events","html_url":"https://github.com/OneDrive/onedrive-sdk-python/issues/23","id":136305737,"number":23,"title":"Request: Upload function using data instead of path","user":{"login":"Stullemon","id":10527411,"avatar_url":"https://avatars.githubusercontent.com/u/10527411?v=3","gravatar_id":"","url":"https://api.github.com/users/Stullemon","html_url":"https://github.com/Stullemon","followers_url":"https://api.github.com/users/Stullemon/followers","following_url":"https://api.github.com/users/Stullemon/following{/other_user}","gists_url":"https://api.github.com/users/Stullemon/gists{/gist_id}","starred_url":"https://api.github.com/users/Stullemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stullemon/subscriptions","organizations_url":"https://api.github.com/users/Stullemon/orgs","repos_url":"https://api.github.com/users/Stullemon/repos","events_url":"https://api.github.com/users/Stullemon/events{/privacy}","received_events_url":"https://api.github.com/users/Stullemon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-25T07:28:57Z","updated_at":"2016-02-25T07:28:57Z","closed_at":null,"body":"Hey Microsoft,\r\n\r\nI am looking into uploading entire zip-files from local folders created just in time. I can obviously write a temporary file, upload it and then delete it again. However, this is associated with some IO lag and puts some stress on the drive. Something which I would like to avoid when executing my python script on a portable flash drive or a rather slow HDD (possibly further slowed down by antivirus software). Hence, I had the idea to use an in memory zip file (see http://stackoverflow.com/questions/2463770/python-in-memory-zip-library ).\r\n\r\nHowever, this possibility is obstructed by the the upload function of the SDK, which - to the best of my knowledge - only supports path but not data. Unfortunately, I lack the skill to effectively and generically extend the SDK myself. \r\n\r\nThus my request to introduce the possibility to use data instead of path for the upload function. What do you think?\r\n\r\nRegards,\r\nStulle"}}