I'm afraid this answer is only for NT - not much use for '95/'98. If you ARE using NT :
1.Make sure the Scheduler service is set to Automatic start under Services in the Control Panel
2.From an NT command prompt use the AT command to schedule a task with the following command line :
RASDIAL [connection name] [user] [password]
3.Make another scheduled task about 1 minute later to deal with the FTP
4.Make another scheduled task a few minutes after that to disconnect using the followingcommand line :
RASDIAL [connection name] /DISCONNECT
Off you go! Unfortunately it appears that RASDIAL is not documented in WinNT (at least - I can't find it anywhere :), but RASDIAL /? should give you most of the help you need. Feel free to email me with any questions if you are using NT and run into any more probs with this!
Dave.