I'm trying to write a backup script to put files on a server. --This is how I have begun:
from ftplib import FTP
f = open(r'g:\dev\python\exercises\aaa.py', 'r')fname = r'g:\dev\python\exercises\aaa.py'
ftp = FTP('ftp..com')
ftp.login()ftp.storlines
('STOR ' + fname, f)ftp.retrlines('LIST')
f.
Thanks Andrei for your input.I've already implemented a couple of your suggestions and will certainlygive the others a go. On 2/18/06,
Andrei <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:> Here is my first stab at putting together a working program. It is a> glossary that you can add words a
Here is my first stab at putting together a working program. It is a glossary that you can add words and definitions to, or look up words and their definitions. There are a couple of problems here and there, but it basically does what I set out for it to do. All comments and criticisms are welcome