Cmdlets for XML

Build 25.0.9434

DeleteFile

Deletes a specified XML file from local storage or a connected cloud service.

Procedure-Specific Information

The Path input accepts paths relative to the URI provided in the connection string.

If URI is set to: gs://test-bucket/folder2 and Path='file1.txt', the file /folder2/file1.txt will be deleted.

The procedure is executed as below:

    EXEC DeleteFile Path='/hello-cdata.txt'

Input

Name Type Description
Path String Specifies the full path of the XML file to be deleted, relative to the directory defined in the Uniform Resource Identifier (URI) connection property.

Result Set Columns

Name Type Description
Success Bool Indicates whether the file deletion operation completed successfully. If the value is 'false', additional information is returned in the Details output parameter.
Details String Provides diagnostic details if the operation fails. If the deletion succeeds, this field is returned as NULL.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434