必需的參數
- file: 要刪除的檔案(包括檔名)或目錄的路徑。
輸出屬性
- file:file: 已刪除的檔案(包括檔名)或目錄的路徑。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
刪除指定檔案並傳回操作是否成功。
<!-- Creating the input item with the full path to the file to be deleted -->
<arc:set attr="input.file" value="/tmp/myfiles/deleteme.txt"/>
<!-- Calling fileDelete and passing in the input item -->
<arc:call op="fileDelete" in="input" out="result" >
<!-- Optional: Logging information about the deleted file to the application log -->
<arc:set attr="_log.info" value="The file [result.file:file] was deleted."/>
</arc:call>