Start a Conversation

Unsolved

This post is more than 5 years old

4321

September 3rd, 2010 07:00

URGENT: Gettting file from Centera through clip id

Hi Experts,

I'm in search of Centera code which will get the file uploaded in centera from clip ID.

I only have clip ID with me and I don't know much about the centera SDK, could any one guide me on how to get the content from clip id.

Please help me in this as I need it asap.

Thanks in advance.

Regards

Prashant

1 Rookie

 • 

70 Posts

September 3rd, 2010 08:00

Hi Paul,

Thanks for the information.

Could you let me know about this line which you wrote

"You then need to navigate to the tag with your blob in it and use the"

How can I navigate to the tag.

Thanks in advance.

regards

Prashant

409 Posts

September 3rd, 2010 08:00

The SDK download comes with some sample code in C and Java which will show you how to read back a clip

However if you are just wanting to read back the clip and not learn about using the API you might want to download the utility jcasscript.jar   The is a command line tool that lets you issue SDK "commands".  You'll need to install java on your workstation but that should be no big deal.  Download jcasscript.jar from the download section of this community.  Unpack it somewhere and run it  from a DOS or unix shell window

java -jar jcasscript.jar

type the command

poolopen "10.0.0.1?c:\mypeafile.pea"

replacing the Ip address with yours and the pathname of the PEA file with your pathname

then type

clipopen YOURCONTENTADDRESS

cliprawview

this will show you the format of the CDF .  You then need to navigate to the tag with your blob in it and use the

blobread outfilename

to read the file into the outfilename

No Events found!

Top