Hi,
I am trying to copy files and folders from one location to another.This is a repeatitive process and runs everyday. I am using file system task for this.
The problem I am having is in setting the attributes on the destination files,folders.
The package runs fine for the first time where it copies all the files and folders to the destination for the first time and sets some of the destination files to readonly (like.bat file).So,When the package runs the second time, it fails because it cannot overwrite the files.
I used a script that would set the ISreadonly option to false. This does it only for the files under main directory.
the input variable is the path of the main directory (example c:\test\
)
So, I am trying to figure out a way to set the attributes of all files including the ones under subfolders to False.
Thank you in advance.