Check out "Multiple file server free space monitor" job template. Script in that template dynamically maps/un-maps network drives. You can use the same technique for your job. To call SyncFTPDir from a VBScript job use JALScript.Execute method. If you run 24x7 version prior to 3.2.2 download this template from http://www.softtreetech.com/24x7/archive/template18.htm : How can i map up a drive through a script? : I am running 24x7 as a service under the administrator account. : In lots of script i want to move data from one machine to another. Most of : the times this works well by using UNC's, but sometimes (like with : SyncFTPDir) i have to map up a drive first. : Run("Net use bla bla bla") doesn't work. : How do i solve this? : Regards, : Ton.
|