Since you say that code runs great when you manually start it, i will say that this is not a code problem.

It sounds like it is a permission problem.

Does this NT computer have IE4 or greater installed? If so, the "AT Service" was upgraded to "Scheduled Tasks".

By default any task that you schedule with AT runs under the "System Account", and by design, the "System Account" can not access any network resources, this would include your FTP.

Under the older AT service, you would fix that by just running the AT service under a username/password instead of using the "System Account".

But the newer "Scheduled Tasks" will ONLY run under the system account.

The new "Scheduled Tasks", when accessed using the GUI interface, gives you the RUNAS option so you can specify what username/password you want the task to run under. When you schedule a task using the AT command line tool, the job will run under he default "System Account".

I have been unable to find a command line tool that is equal to the GUI interface

To fix this your choices are,

1. Use thE GUI tool to schedule your jobs.
2. Use the SU command in the cmd file to start the kix script under a username/password that has network access rights.

Bryce

[This message has been edited by Bryce (edited 06 February 2001).]