On Fri, Feb 26, 2010 at 2:11 PM, Herulee <heramb.forums(a)googlemail.com> wrote:
Hello,
Can sombody help me to solve the problem
I tried to upoad the image with mwclient
Site.upload(open('c:/test.jpg'),'test.jpg','testing') but doenst
get
uploaded
and when I see the image c:/test.jpg ..it is blank
Try opening in rb mode, i.e. open('c:/test.jpg', 'rb')