automize 8: How to set target folder fot SFTP

Discuss Task Sequences and Scripting related issues.

Postby Tech Support » Tue Nov 17, 2009 5:17 pm

Try the SubdirectoryLoop task (task title = subdirloop)
Sort subdirectories by name in ascending order.. 215 should finish last..
when this task ends.. a variable will be stored called:
subdirloop::SubdirectoryName

create a new number variables task (taskTitle = add)
variable name field = subdirloop::SubdirectoryName
function = +
value = 1
new variable name = newsubdir


In a Visual script task , add the tasks
1) subdirloop
2) add
3) .. your ftp task.. reference 'newsubdir' as the target folder..
Tech Support
Site Admin
 
Posts: 1276
Joined: Thu May 25, 2006 11:12 am


Return to Task Sequences, Chains and Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

cron