Skip to Content
0

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

Mar 23, 2017 at 06:38 AM

194

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sharath Ravindranath Mar 23, 2017 at 12:12 PM
0

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)

Share
10 |10000 characters needed characters left characters exceeded