AnsweredAssumed Answered

Unable to download attachments

Question asked by abhi92 on Jul 15, 2015
Latest reply on Jul 17, 2015 by Gutis

Hi everyone,

           I am trying to download attachments from usd by using c# code. The main idea is to get the latest usd numbers by comparison and download the attachments associated with those particular usd numbers.I am able to fetch the latest usd number and get the attachment id of a particular attachment. I am using the following url in order to download the attachments associated with the usd:


string ur1 = string.Format("http://***Server IP***:8080/CAisd/UploadServlet?AttmntId={0}&Bpsid={1}&retURL=https://***ServerName****/CAisd/pdmweb.exe?SID={2}&FID={3}&OP=DISPLAY_FORM&HTMPL=attmnt_download_done.htmpl&ServerName=****&encrtd=1", "attid", bpid, sid, "fid");


attid is the attachment id, sid is the session id, bpid is generated using sid and fid is a random number, say 123.


But it is not downloading any attachments, it shows the following error:


The File download request is missing some required parameters

An unspecified processing error was encountered

Can anyone please help me on this.