I have a scheduled task which executes the commands in my file ftp.txt every day. The file can be seen below, it connects via ftp to my site and puts 3 XML files on to my web server.
File executed by command
open ftp.mysite.co.uk username password put C:\file.xml location/file.xml put C:\file1.xml location/file1.xml put C:\file2.xml location/file2.xml bye
I now have to execute the same transfers but to sites with different ftp details. I don't want to schedule a new windows task for each transfer so i was wondering if there is a way to execute other ftp.txt files from the main ftp.txt file that is triggered from the command line? If that is not possible could i just run several ftp batch files from a single command line command.