No, the FS Service can't delete read-only files (it should be able to 
delete hidden files as long as they are not read-only).

The following mailing list and forum threads talk about this issue, 
including some possible workarounds:

http://sourceforge.net/mailarchive/message.php?msg_id=783903.96376.qm%40web23203.mail.ird.yahoo.com
http://sourceforge.net/forum/message.php?msg_id=3998992
 
Thanks, 
David 

David Bender 
STAF/STAX Development 
IBM Software Group, WPLC 
 
11501 Burnet Rd. 
Bldg. 903-5B002 
Austin, TX 78758-3400 
 
Phone (T/L): 1-512-286-5315 (363-5315) 
ITN: 23635315 
Email: bda...@us.ibm.com 
 





Li Wiston <wiston.l...@gmail.com> 
07/14/2009 01:00 AM

To
David Bender/Austin/i...@ibmus
cc
bruce.ai...@rsa.com, staf-users@lists.sourceforge.net
Subject
Re: [staf-users] How do I delete the directory using the STAF   command?






No, I means that delete all files in that directory, including the 
read-only and hidden files.
 
it work fail if I use this delete sentence in STAF.
 
 
Does staf provide this function for delete all the read-only and hidden 
files in same a directory?
 
 


 
2009/7/13 David Bender <bda...@us.ibm.com>

The FS DELETE request allows you to delete files and directories. 

For example: 

Goal: Delete the directory /tmp/myfiles and all of its children. 
Syntax:  DELETE ENTRY /tmp/myfiles RECURSE CONFIRM 
 
Thanks, 
David 

David Bender 
STAF/STAX Development 
IBM Software Group, WPLC 
  
11501 Burnet Rd. 
Bldg. 903-5B002 
Austin, TX 78758-3400 
  
Phone (T/L): 1-512-286-5315 (363-5315) 
ITN: 23635315 
Email: bda...@us.ibm.com 
 





Li Wiston <wiston.l...@gmail.com> 
07/13/2009 07:23 AM 


To
David Bender/Austin/i...@ibmus 
cc
bruce.ai...@rsa.com, staf-users@lists.sourceforge.net 
Subject
Re: [staf-users] How do I delete the directory using the STAF       
 command?










Hi, all 
  
It seemed that I easily delete the files using the delete command in STAF, 
but I have not found the 
the method of the delete directory, can anyone help me ? 
  
Thanks in advance, 
-Wiston.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full 
prize  
details at: 
http://p.sf.net/sfu/Challenge_______________________________________________

staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge 
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full 
prize 
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to