POE::Component::Client::FTP problem

2002-09-17 Thread Bart
Hi I'm trying to run Poco::Client::FTP in a self-made module file, but somehow, it's going wrong. I execute the function try::try($kernel, $1, $who); somewhere in the main .pl file. The try function searches for $adname ($1) in the database, and if it can find it, it logs into the ftp with the

RE: :Component::Client::FTP problem

2002-09-17 Thread Erick Calder
Bart, the session you are creating needs an alias set to try since you're telling the ftp client to use try to send its events... you can do it like this: sub start { $_[KERNEL]-alias_set(try); print *** test\n; } dngnand was going to add an arg to the session create

Re: :Component::Client::FTP problem

2002-09-17 Thread Rocco Caputo
On Tue, Sep 17, 2002 at 10:52:08AM -0700, Erick Calder wrote: Bart, the session you are creating needs an alias set to try since you're telling the ftp client to use try to send its events... you can do it like this: sub start { $_[KERNEL]-alias_set(try); print ***