[Soap-Python] Big file transfer with rpclib
Burak Arslan
burak.arslan at arskom.com.tr
Fri Apr 20 15:06:41 CEST 2012
On 20/04/12 15:56, Vladimir Rutsky wrote:
> On 04/20/2012 11:32 AM, Burak Arslan wrote:
>> On 04/19/12 17:39, Vladimir Rutsky wrote:
>>> Is HttpClient should work?
>>
>> nope. I did not finish that because curl/wget work just fine for me.
>>
>> here's the example:
>> https://github.com/plq/rpclib/tree/master/examples/file_manager
>>
>> note that it's 2012 and firefox can't upload files bigger than 2GB.
>> https://bugzilla.mozilla.org/show_bug.cgi?id=215450
>>
>> so it's best to test this with chrome.
> Thank you for this example!
>
> I decided to go with Django + upload/download files as more familiar
> solution, but I will look forward for SOAP MTOM/SwA support in rpclib.
>
Oh well, I guess I can't blame you :) Yes the 2.8.0 branch has some huge
additions, (see the diffstat in
https://github.com/arskom/rpclib/pull/129) so I won't be surprised if
that example works only with rpclib trunk. But that's how it is if you
ask me to do something: You always need to get the latest trunk :)
best,
burak
> P.S. Provided example doesn't work in 2.7.0-beta, probably because
> differences in 2.7.0-beta and your branch:
> Traceback (most recent call last):
> File "./server.py", line 57, in <module>
> class FileServices(ServiceBase):
> File "./server.py", line 58, in FileServices
> @rpc(Mandatory.Unicode, _returns=ByteArray)
> AttributeError: type object 'Mandatory' has no attribute 'Unicode'
>
>
> Best wishes,
>
> Vladimir Rutsky
>
More information about the Soap
mailing list