Re: FTP'ing without locking

2008-12-17 Thread Malcolm Tredinnick
On Wed, 2008-12-17 at 16:10 -0800, Greg Taylor wrote: > I understand what you're saying, but I could've sworn I've seen Perl > CGI scripts that forked something off from the web process that didn't > hang the client up. Maybe I'm completely imagining that though (which > is a distinct

Re: FTP'ing without locking

2008-12-17 Thread Jeff Anderson
Russell Keith-Magee wrote: > On Thu, Dec 18, 2008 at 6:15 AM, Greg Taylor wrote: > >> This is somewhat of a core Python question with a Django twist. I'm >> running mod_wsgi and am trying to figure out how to FTP a file from my >> Django app to a remote host without

Re: FTP'ing without locking

2008-12-17 Thread Greg Taylor
I understand what you're saying, but I could've sworn I've seen Perl CGI scripts that forked something off from the web process that didn't hang the client up. Maybe I'm completely imagining that though (which is a distinct possibility). On Dec 17, 6:44 pm, "Russell Keith-Magee"

Re: FTP'ing without locking

2008-12-17 Thread Russell Keith-Magee
On Thu, Dec 18, 2008 at 7:55 AM, Greg Taylor wrote: > > Yeah, I was afraid this would be the case. The interval polling script > was something I really wanted to avoid. > > I can't believe this isn't possible, though. I assume this is a Django > limitation of some sort?

Re: FTP'ing without locking

2008-12-17 Thread Greg Taylor
Yeah, I was afraid this would be the case. The interval polling script was something I really wanted to avoid. I can't believe this isn't possible, though. I assume this is a Django limitation of some sort? On Dec 17, 5:48 pm, "Russell Keith-Magee" wrote: > On Thu, Dec

Re: FTP'ing without locking

2008-12-17 Thread Russell Keith-Magee
On Thu, Dec 18, 2008 at 6:15 AM, Greg Taylor wrote: > > This is somewhat of a core Python question with a Django twist. I'm > running mod_wsgi and am trying to figure out how to FTP a file from my > Django app to a remote host without locking the thread up. I've tried >

FTP'ing without locking

2008-12-17 Thread Greg Taylor
This is somewhat of a core Python question with a Django twist. I'm running mod_wsgi and am trying to figure out how to FTP a file from my Django app to a remote host without locking the thread up. I've tried something like: from subprocess import Popen print Popen(["python", command_str,