Not able to save/download file on local pc. File is available inside code in byte[].

R

Ritesh Kavankar

Hello Team,I am working on sharepoint web aplication backend c# and hosted on azure.Basically I working on virtual machine. Using citrix to access pc.I have file data in format of byte[] array in side code and want to save/download it on local, but i am not able to do that.For download I used response streamsExample :- Response.output (data) / Response.Binarywrite(data).This Didn't workOrTo save on local I used desktop pathstring desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop)Above code return some different location wich is not accessible for me.Error : D:/Windows/S

Continue reading...
 
Back
Top Bottom