Skip to Content
0
Aug 05, 2009 at 11:48 AM

Script in File Adapter

20 Views

Hi all,

we are having a requirement to copy files(and then delete) from Portal database to XI Server using unix shell script.

#!/user/bin/sh

host="http://xxxxxx:50100/irj/go/km/docs"

login="xxxxx"

passwd="xxxxxx"

cmd="rcp host:/documents/Public%20Documents/HFM *.xls"

echo open $host $login $passwd $cmd

but this script is not working .

any ideas plz