AnsweredAssumed Answered

Using apache chemistry and .net to get a url

Question asked by inggarcia on Sep 19, 2013

Im using apache chemistry to upload files, and now i want to download the same file, im using this code:

Dim id2 As IObjectId
        Dim doc As IDocument
        Dim contentStream2 As IContentStream

        id2 = session.CreateObjectId(id)
        doc = session.GetObject(id2)

        contentStream2 = doc.GetContentStream()

But when i use "contentStream2.Stream" it shows this message:

Argument 'Prompt' can not be converted to type 'String'

How can i download the file using stream?

Thansk for the help