{"action":"created","issue":{"url":"https://api.github.com/repos/bagder/curl/issues/425","labels_url":"https://api.github.com/repos/bagder/curl/issues/425/labels{/name}","comments_url":"https://api.github.com/repos/bagder/curl/issues/425/comments","events_url":"https://api.github.com/repos/bagder/curl/issues/425/events","html_url":"https://github.com/bagder/curl/issues/425","id":106018541,"number":425,"title":"multipart uploads can't upload files > 2.2GB (limitation of size of long in Windows)","user":{"login":"thready","id":2071726,"avatar_url":"https://avatars.githubusercontent.com/u/2071726?v=3","gravatar_id":"","url":"https://api.github.com/users/thready","html_url":"https://github.com/thready","followers_url":"https://api.github.com/users/thready/followers","following_url":"https://api.github.com/users/thready/following{/other_user}","gists_url":"https://api.github.com/users/thready/gists{/gist_id}","starred_url":"https://api.github.com/users/thready/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thready/subscriptions","organizations_url":"https://api.github.com/users/thready/orgs","repos_url":"https://api.github.com/users/thready/repos","events_url":"https://api.github.com/users/thready/events{/privacy}","received_events_url":"https://api.github.com/users/thready/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bagder/curl/labels/HTTP","name":"HTTP","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"bagder","id":177011,"avatar_url":"https://avatars.githubusercontent.com/u/177011?v=3","gravatar_id":"","url":"https://api.github.com/users/bagder","html_url":"https://github.com/bagder","followers_url":"https://api.github.com/users/bagder/followers","following_url":"https://api.github.com/users/bagder/following{/other_user}","gists_url":"https://api.github.com/users/bagder/gists{/gist_id}","starred_url":"https://api.github.com/users/bagder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagder/subscriptions","organizations_url":"https://api.github.com/users/bagder/orgs","repos_url":"https://api.github.com/users/bagder/repos","events_url":"https://api.github.com/users/bagder/events{/privacy}","received_events_url":"https://api.github.com/users/bagder/received_events","type":"User","site_admin":false},"milestone":null,"comments":25,"created_at":"2015-09-11T14:09:39Z","updated_at":"2015-11-09T08:08:45Z","closed_at":"2015-11-02T07:49:27Z","body":"The following code uses a long for filesize.  March larger files can be uploaded this way if lFileSize is changed from a long to a uint64.\r\n\r\n    curl_formadd(\r\n                 &formpost, &lastptr,\r\n\t\t\t\tCURLFORM_COPYNAME, \"file\",\r\n\t\t\t\tCURLFORM_FILENAME, strDestinationFileName,\r\n\t\t\t\tCURLFORM_STREAM, &transferItem,\r\n\t\t\t\tCURLFORM_CONTENTSLENGTH, lFileSize,   // this is a long --> should be uint64\r\n\t\t\t\tCURLFORM_CONTENTTYPE, \"application/json\",\r\n\t\t\t\tCURLFORM_END);"},"comment":{"url":"https://api.github.com/repos/bagder/curl/issues/comments/154992820","html_url":"https://github.com/bagder/curl/issues/425#issuecomment-154992820","issue_url":"https://api.github.com/repos/bagder/curl/issues/425","id":154992820,"user":{"login":"jay","id":965580,"avatar_url":"https://avatars.githubusercontent.com/u/965580?v=3","gravatar_id":"","url":"https://api.github.com/users/jay","html_url":"https://github.com/jay","followers_url":"https://api.github.com/users/jay/followers","following_url":"https://api.github.com/users/jay/following{/other_user}","gists_url":"https://api.github.com/users/jay/gists{/gist_id}","starred_url":"https://api.github.com/users/jay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jay/subscriptions","organizations_url":"https://api.github.com/users/jay/orgs","repos_url":"https://api.github.com/users/jay/repos","events_url":"https://api.github.com/users/jay/events{/privacy}","received_events_url":"https://api.github.com/users/jay/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T08:08:45Z","updated_at":"2015-11-09T08:08:45Z","body":"It's since occurred to me that if a void pointer is less than 4 then there is no suitable size for curl_off_t, however that would have also been true before the recent change I just made (assuming there is no sizeof long ==2) so I guess it's never come up."}}