Skip to Content
avatar image
Former Member

How to delete files in remote using FILE LOCATION in SAP BODS 4.2.7

Hi All,

Can any one please let me know how to delete files in remote using File Location object?

I am able to copy files to remote using Copy_to_remote_system fn, but I am not able to delete files using this.

Please help me out.

Thanks in Advance!

Regards,

Mounika.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 23, 2017 at 12:12 PM

    As far as i know, there are no BODS specific functions/methods to delete files in a remote location. I generally use the windows command to delete and use them in 'Exec' function in scripts.

    The delete command would look something like below -

    del filesharepath\example.txt

    Use exec as => Exec(cmd.exe,'del filesharepath\example.txt',8)

    Add comment
    10|10000 characters needed characters exceeded