Can you use multipart upload in boto with strings instead of a file handler?

There is no explicit "upload_part_from_string" method available. You could probably use StringIO to wrap a file-like object around the string and then pass that to "upload_part_from_file" but I haven't tested that It would be easy to add this method. At the time I didn't think it would be all that useful since each of the parts has to be a minimum of 5MB and that's a pretty big string.

But if you have a use case for it, let me know. Or, fork boto on github, add the method and send a pull request.

There is no explicit "upload_part_from_string" method available. You could probably use StringIO to wrap a file-like object around the string and then pass that to "upload_part_from_file" but I haven't tested that. It would be easy to add this method.At the time I didn't think it would be all that useful since each of the parts has to be a minimum of 5MB and that's a pretty big string.

But if you have a use case for it, let me know. Or, fork boto on github, add the method and send a pull request.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions