Re: problem downloading and sending file using ftplib in Familiar Linux environment

2006-01-04 Thread Trent Mick
[Mohd Suhairi Ahmad Soobni wrote] > Hi All, > > I'm trying to develop a simple ftp client for my Ipaq H3800 with Familiar > Linux 0.8.2 & Opie 1.2 in it. > > ... > > File "./ftprecv1.py" line 14, in ? > f.retrlines("RETR %s" % file, open(file, "w").write) > . > . > . > File "usr/lib/python2.4/ft

problem downloading and sending file using ftplib in Familiar Linux environment

2006-01-04 Thread Mohd Suhairi Ahmad Soobni
Hi All,   I'm trying to develop a simple ftp client for my Ipaq H3800 with Familiar Linux 0.8.2 & Opie 1.2 in it. My python source code is as follows:   #!/usr/bin/env python import ftplib import os   locdir="/