cancel
Showing results for 
Search instead for 
Did you mean: 

Deletting the file that has been used in 'Additional Files' in FILE SENDER

inigo_sacramento
Participant
0 Kudos

Hi people.

I've developed an interface that has to send a ZIP file to an email address.

I pick that file using a dummy file. This file is picked as an attachment and has been defined in 'additional parameters' of SENDER FILE.

My problem is that i want to delete that 'additional file' once it has been procesed. I think that this could be done running an operating system command.

My problem is that i don't know how to do this in UNIX systems.

Can anyone tell me how to delete (in UNIX) a file with name dummy.zip located in folder /usr/sap.../ ?

Regards,

Inigo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can probably do this by executing a shell script on the server!

You can only run commands on the PI Server

See here for details and help on writing shell scripts!

http://www.injunea.demon.co.uk/pages/page205.htm

Answers (1)

Answers (1)

Former Member
0 Kudos

Try a shell script, you dont have to access unix system directly. just add the script to adapter config