I wish to download a file from a sharepoint2010 site as if you were downloading a normal document from a Document Library. What functions are available in C# to call these functions?
I know you can do so by using the following link:
http://spsite/_layouts/download.aspx?SourceUrl=UrlLocation
But i do not have a url. The file data is loaded in a Stream and i can't use anything else. If there's a way to let sharepoint download streams or if there's a work around for the missing url please let me know.
