views:

18

answers:

0

Hi.

I have a Python application that backs up to an afp server. I also need to get some information from an ftp server. When I just run my Python script from Terminal, it works just fine. But then if I compile it into an application using py2app, it gives me an error. py2app doesn't really say what the error is. If I comment out the line that says

from ftplib import FTP

then it works (until my program makes an instance of the FTP class, of course). Does ftplib work in py2app? If not, is there any other ftp library that I can use?

Thank you!