{"action":"created","issue":{"url":"https://api.github.com/repos/KnpLabs/Gaufrette/issues/171","labels_url":"https://api.github.com/repos/KnpLabs/Gaufrette/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/KnpLabs/Gaufrette/issues/171/comments","events_url":"https://api.github.com/repos/KnpLabs/Gaufrette/issues/171/events","html_url":"https://github.com/KnpLabs/Gaufrette/issues/171","id":13600932,"number":171,"title":"StreamWrapper - handling large file uploads","user":{"login":"djoos","id":449510,"avatar_url":"https://avatars.githubusercontent.com/u/449510?v=3","gravatar_id":"","url":"https://api.github.com/users/djoos","html_url":"https://github.com/djoos","followers_url":"https://api.github.com/users/djoos/followers","following_url":"https://api.github.com/users/djoos/following{/other_user}","gists_url":"https://api.github.com/users/djoos/gists{/gist_id}","starred_url":"https://api.github.com/users/djoos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djoos/subscriptions","organizations_url":"https://api.github.com/users/djoos/orgs","repos_url":"https://api.github.com/users/djoos/repos","events_url":"https://api.github.com/users/djoos/events{/privacy}","received_events_url":"https://api.github.com/users/djoos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-04-24T17:56:22Z","updated_at":"2015-03-04T21:16:40Z","closed_at":null,"body":"Hi,\r\n\r\nin order for us to make use of Gaufrette, we needed to find a way round some limitations, in particular when handling large files. We came up with https://github.com/escapestudios/EscapeGaufretteExtension as a \"extension\"/work-around (in short: we've added a TempFileBuffer which uses a temp file to write to rather than keeping the content in memory) and a small change to the way the OpenCloud adapter writes an object (in short: use a DataObject's Create-method with a filename when the content is a file or the DataObject's setData method when the content is not a file).\r\n\r\nIt would be great to see this or something similar implemented into Gaufrette, as then large file uploads can be taken care of in the great Gaufrette-way!\r\n\r\nThanks in advance for your feedback!\r\n\r\nKind regards,\r\nDavid"},"comment":{"url":"https://api.github.com/repos/KnpLabs/Gaufrette/issues/comments/77249983","html_url":"https://github.com/KnpLabs/Gaufrette/issues/171#issuecomment-77249983","issue_url":"https://api.github.com/repos/KnpLabs/Gaufrette/issues/171","id":77249983,"user":{"login":"djoos","id":449510,"avatar_url":"https://avatars.githubusercontent.com/u/449510?v=3","gravatar_id":"","url":"https://api.github.com/users/djoos","html_url":"https://github.com/djoos","followers_url":"https://api.github.com/users/djoos/followers","following_url":"https://api.github.com/users/djoos/following{/other_user}","gists_url":"https://api.github.com/users/djoos/gists{/gist_id}","starred_url":"https://api.github.com/users/djoos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djoos/subscriptions","organizations_url":"https://api.github.com/users/djoos/orgs","repos_url":"https://api.github.com/users/djoos/repos","events_url":"https://api.github.com/users/djoos/events{/privacy}","received_events_url":"https://api.github.com/users/djoos/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T21:16:40Z","updated_at":"2015-03-04T21:16:40Z","body":"Hi @wysow,\r\n\r\nyes, the issue is still relevant: AFAIK the file content is still kept in memory in the bundle when not using our tempfile workaround (see above)...\r\nThis is an issue when handling (very) large file uploads...\r\n\r\nHope this helps!\r\n\r\nKind regards,\r\nDavid\r\n"}}