Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Delete Files Action - Access Denied (https://www.kinook.com/Forum/showthread.php?t=2571)

sdornan 05-01-2007 07:44 AM

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\applic ations\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!!!

kinook 05-01-2007 10:49 AM

Do you have 'Ensure file is writeable before deleting' checking on the Delete Files step?

sdornan 05-01-2007 10:53 AM

'Ensure file is writeable
 
This option is not checked

kinook 05-01-2007 11:25 AM

The Delete Files action will not be able to delete read-only files without that option checked.


All times are GMT -5. The time now is 05:31 PM.


Copyright © 1999-2023 Kinook Software, Inc.