write to remote ile
monkey at joemoney.net
Mon Mar 8 03:51:22 CET 2010
On 3/7/2010 9:20 PM, Martin P. Hellwig wrote:
> On 03/08/10 02:10, monkeys paw wrote:
>> I can xfer a file from a remote server using:
>> import urllib2 as u
>> for line in x:
>> print line
>> How can i write a file to the remote server?
>> I tried:
>> x = u.url.open('http://joemoney.net/somefile.txt', 'w')
>> but that does not work
> How do you normally (i.e. without python) put files on a remote server?
Using FTP, i'm really having a brain cramp here, but i'm new to python
More information about the Python-list