I have been given an old python application that calls ftplib in many places to copy files to a remote server.
I have been given the task of cloneing this code so that ftp is not used, but files are just copied locally in a scenerio where ftp is not available. The code is not well structured which makes this more difficult. Before starting this just wondered if anyone has previously done anything like overriding the ftplib module so that I can leave the existing code largely unchanged but have the ftp commands just copy files locally? Just thought I'd ask before getting started. -- http://mail.python.org/mailman/listinfo/python-list