I'm using task scheduler & a batch file to perform automated backups. Is there a reason you cannot simpy map the ftp site as a network drive and use the OSQL command in a fashion similar to Lance's methed above.
For example, where ftp site = drive X: OSQL -U sa -P password -S serverName -Q "BACKUP DATABASE dbName TO DISK 'X:\backupDir\backupfile.bck 'WITH FORMAT, STATS"
I'm even using a 3-day auto-archive system that looks like this: CD X:\backupDir
IF EXIST DailyBackup3.bck DEL DailyBackup3.bck IF EXIST DailyBackup2.bck REN DailyBackup2.bck Dailybackup3.bck IF EXIST DailyBackup1.bck REN DailyBackup1.bck Dailybackup2.bck
I got the idea for this sytem from an older topic on this group.
You might have to add a NETUSE command to your batch file just to make sure tha the X: drive is connected.
Best of luck, Tom