I installed VimRepress which is a great plugin that alllows the user to post to a Wordpress blog right from within Vim. But image uploading doesn't work with me properly. I give the following command:
BlogUpload masal01.jpg
VimRepress returns and insert the image element into the text:
<a href="http://cocuklaricininternet.com/wp-content/uploads/2012/02/masal01.jpg"><img title="masal01.jpg" alt="masal01.jpg" src="http://cocuklaricininternet.com/wp-content/uploads/2012/02/masal01.jpg" class="aligncenter" /></a>
But the uploaded image file is broken. The uploaded file is 59 Bytes size whereas the original file is 30 KB.
Apart of this BlogUpload command, the other commands of VimRepress work fine. Btw, VimRepress doesn't give any error when uploading an image. I am using GVim 7.3 with Python 2.7.2 on Win 7.
How can I find out the cause of this problem?