Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 3.00 average. Display Modes
  #1  
Old 05-01-2007, 07:44 AM
sdornan sdornan is online now
Registered User
 
Join Date: 01-31-2007
Location: Buffalo, NY
Posts: 3
Angry 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!!!
Reply With Quote
  #2  
Old 05-01-2007, 10:49 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Do you have 'Ensure file is writeable before deleting' checking on the Delete Files step?
Reply With Quote
  #3  
Old 05-01-2007, 10:53 AM
sdornan sdornan is online now
Registered User
 
Join Date: 01-31-2007
Location: Buffalo, NY
Posts: 3
'Ensure file is writeable

This option is not checked
Reply With Quote
  #4  
Old 05-01-2007, 11:25 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The Delete Files action will not be able to delete read-only files without that option checked.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:46 PM.


Copyright © 1999-2023 Kinook Software, Inc.