OnAfterClientLogin

Giganews Newsgroups
Subject: OnAfterClientLogin
Posted by:  Dan (da…@thesourceintl.com)
Date: Tue, 16 Sep 2003

I am trying to have my app login to the ftp server, then change to the
appropriate directory than transfer files all without any user intervention.
I have found the only event that occurs when after the user logs in, is the
onafterClientLogin event.  When I try to changedir() within the event, I get
the error "unable to build data connection, no route to host".
If I cannot perform this action here, where should I do it?
I tried to use the onstatus event and check for a connected status (which
occurs but prior to logging in apparently) so I was not able to changeDir
there either.

Replies