[Pythonmac-SIG] BuildApplication and FTPlib questions

Niel M. Bornstein nbornstein@plr.com
Sat, 26 Jun 1999 15:36:33 -0400


Hey there -

I'm using Python 1.5.2b1 to make a small specialized FTP app, and I have a
couple of questions.

I used BuildApplication to build a stand-alone, and I am unsure about a
couple things.  First, although I used EditPythonPrefs to delay the SIOUX
console until needed, it opens immediately.  Is there some way I can
guarantee that it doesn't open until I do a print?

Second, the major functionality of this app is to transfer files by FTP.
I'm not sure if I'm doing something wrong, but the transfer seems very
slow... what kind of effect does the block size parameter have on the
transfer?  Does it have to match the block size on the open() call?

Also, in my test environment, the FTP sometimes has hung because the server
was not responding.  Eventually, it times out with an error, but is there a
way to capture a command-. to cancel the transfer?

Thanks,
Niel