#1
|
|||
|
|||
Delete Files Action - Access Denied
I have a VBP Project I am using to deploy files to a web server, and I want to archive and then delete the cuurent files on the server prior to deploying the new files. I have been trying to use the "Delete Files" action but I get an access denied error when I try and use this. Now the wierd thing is if I use the delete folder action, this works just fine, but I don't want to do this as I only want to delete specific files from these folders.
The folders is defined as "%APP_SERVER1_IP%\%APP_SERVER1_ROOT%\wwwroot\appli cations\ufs" (Which translates to \\172.31.30.31\c$\inetpub\wwwroot\applications\ufs ") and in the "Include" the files are defined as *.cfm Any help here would be greatly appreciated!!! |
#2
|
|||
|
|||
Do you have 'Ensure file is writeable before deleting' checking on the Delete Files step?
|
#3
|
|||
|
|||
'Ensure file is writeable
This option is not checked
|
#4
|
|||
|
|||
The Delete Files action will not be able to delete read-only files without that option checked.
|
|
|