file transfer can be easily done with python xmlrpc. it is very simple and spans a very few lines of code.. :) pls check this link to see how i done it...

Your program looks strange. You close file explicitely inside with block.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.