Skip to Content
0
Jun 28, 2012 at 09:44 PM

Shell Script for the deletion of the file in FTP Protocol

13 Views

Hello ,

For some reason , I have to delete file from R/3 Application server and so i am using a shells script to do that.

Its a file to file scenario and sender is FTP protocol.

The code is as follows.

logDir= /interface/scripts

logFile=deleteMATMASTFiles.log

host="pand0114.pan.eu"

open ${host}

cd /interface/tes

currDate=`date`

a="makt_EN_material_descr"

rm $a

and the command in the channel is :

The log shows that it executes the OS Command , but the file does not get deleted.

Can someone help me here !!

Regards,

Ravi

Attachments