<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged efficyproxy</title>
<link>https://overflow.efficy.io/?qa=tag/efficyproxy</link>
<description>Powered by Question2Answer</description>
<item>
<title>How can we get the real bytes of an attachment from the FILES.STREAM with .NET soap</title>
<link>https://overflow.efficy.io/?qa=4681/how-real-bytes-attachment-from-the-files-stream-with-net-soap</link>
<description>&lt;p&gt;with &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;EfficySession s = new EfficySession(...)
var dt = s.ExecuteSQLQuery(&quot;select * from ArdisICT.FILES WHERE K_TABLE=31000 AND K_1=:param1&quot;, 1, true, p2);
foreach (DataRow r in dt.Rows)
{
   string fname = r[&quot;PATH&quot;].ToString();
   string streamv = r[&quot;STREAM&quot;].ToString();
   byte[] bytes = s.ConvertFromBase64Attachment(streamv);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;In bytes I get the zlib compressed data, but how can I get the right decompressed data?&lt;/p&gt;

&lt;p&gt;Or can I use soap method similar to Efficy.getFileStream ?&lt;/p&gt;
</description>
<category>Remote API (JSON, SOAP, Node)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4681/how-real-bytes-attachment-from-the-files-stream-with-net-soap</guid>
<pubDate>Mon, 12 Aug 2019 11:57:31 +0000</pubDate>
</item>
</channel>
</rss>