how to get files: http://docs.python.org/lib/ftp-objects.html, see
function retrlines for a textfile
how to rename files: mhttp://docs.python.org/lib/os-file-dir.htmlv,
function rename
--
http://mail.python.org/mailman/listinfo/python-list
Do for instance:
Step 1. Move the file to another directory from the remote computer -
see http://docs.python.org/lib/ftp-objects.html
Step 2. Rename the file here. See
http://docs.python.org/lib/os-file-dir.html, function rename
Step 3. Move the file to the desired directory, use the same functio
Let's say I have a file called 'test.c' on my local machine and I'm
ftping a file with similar name from a remote computer. I want to
prefix the file ftped over with a T_, how do I do that through ftplib
in python?
Thanks
Thierry
--
http://mail.python.org/mailman/listinfo/python-list