{"action":"opened","issue":{"url":"https://api.github.com/repos/ncw/rclone/issues/253","labels_url":"https://api.github.com/repos/ncw/rclone/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/ncw/rclone/issues/253/comments","events_url":"https://api.github.com/repos/ncw/rclone/issues/253/events","html_url":"https://github.com/ncw/rclone/issues/253","id":122957840,"number":253,"title":"Microsoft OneDrive : Couple of problems","user":{"login":"CarrotCruncher","id":16117099,"avatar_url":"https://avatars.githubusercontent.com/u/16117099?v=3","gravatar_id":"","url":"https://api.github.com/users/CarrotCruncher","html_url":"https://github.com/CarrotCruncher","followers_url":"https://api.github.com/users/CarrotCruncher/followers","following_url":"https://api.github.com/users/CarrotCruncher/following{/other_user}","gists_url":"https://api.github.com/users/CarrotCruncher/gists{/gist_id}","starred_url":"https://api.github.com/users/CarrotCruncher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarrotCruncher/subscriptions","organizations_url":"https://api.github.com/users/CarrotCruncher/orgs","repos_url":"https://api.github.com/users/CarrotCruncher/repos","events_url":"https://api.github.com/users/CarrotCruncher/events{/privacy}","received_events_url":"https://api.github.com/users/CarrotCruncher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T14:27:59Z","updated_at":"2015-12-18T14:27:59Z","closed_at":null,"body":"Firstly, thanks for this tool, I've after something like this for ages.\r\n\r\nI've set it up to sync some directories from my Dropbox account to both my Google Drive and Microsoft OneDrive accounts. The sync to Google Drive appears to work perfectly without issue. The Sync to Microsoft OneDrive generally works except for the following two types of error:\r\n\r\n1. Failed to copy: unauthenticated: Must be authenticated to use '/drive' syntax\r\n\r\nThis seems to happen randomly, I have not been able to identify any commonality with the the files it fails on, when it happens, etc. Are you able to offer any explanation as to what this means?\r\n\r\n2. Failed to copy: unexpected EOF\r\n\r\nThis seems to happen for any file that has to be chunked. The files I'm syncing range from a few bytes to hundreds of megabytes in size. Initially this was happening for any file that was over 10MB, so I set the \"-onedrive-upload-cutoff\" option to 100M and now it only fails for any file over 100MB. Is there a known issue with uploading chunked files to Microsoft OneDrive?\r\n\r\nI have to say that I've not quite understood the explanation of the two options available for Microsoft One Drive:\r\n\r\n>–onedrive-chunk-size=SIZE\r\n>\r\n>Above this size files will be chunked - must be multiple of 320k. The default is 10MB. Note that the >chunks will be buffered into memory.\r\n>\r\n>–onedrive-upload-cutoff=SIZE\r\n>\r\n>Cutoff for switching to chunked upload - must be <= 100MB. The default is 10MB.\r\n\r\nspecifically the \"Above this size files will be chunked\" statement. I thought \"–onedrive-chunk-size\" was the chunk size if a file had to be chunked, and \"–onedrive-upload-cutoff\" was the maximum size a file could be without having to be chunked. Have I misunderstood?\r\n\r\nPlease note I'm using rclone-v1.25-linux-amd64.zip on a Fedora 23 server and my upload connection speed is pretty bad, around 800kbps.\r\n\r\nMany thanks."}}