<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Unable to read file in plugin code</title><link>https://community.appian.com/discussions/f/plug-ins/12600/unable-to-read-file-in-plugin-code</link><description>Hi All, 
 I&amp;#39;m reading a file which is in appian, but I&amp;#39;m facing a issue 
 java.io.FileNotFoundException: &amp;#39;/usr/local/appian/_admin/accdocs3/7646/10011422.xlsx&amp;#39; cannot be opened because it does not exist 
 File does exists in my path but unable to pick</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Unable to read file in plugin code</title><link>https://community.appian.com/thread/56211?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 07:39:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af59d1ab-4473-46d1-9f1f-b3f22cf86dff</guid><dc:creator>saurabhp0002</dc:creator><description>Hi Ppradeep, I did it long back .. Let me look into my repository and share the code snippet.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to read file in plugin code</title><link>https://community.appian.com/thread/56207?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 06:27:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e564b2fe-6a3f-44c4-b619-d03884629ddb</guid><dc:creator>Shanmukha</dc:creator><description>Hi Pradeep,&lt;br /&gt;
&lt;br /&gt;
Could you please provide the code snippet that you are trying?&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to read file in plugin code</title><link>https://community.appian.com/thread/56203?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 06:06:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae44df5b-4a27-4a33-933d-f4ce0fccb055</guid><dc:creator>saurabhp0002</dc:creator><description>As Plug-in is deployed in _admin/Plugins folder, you have to either provide the relative path from your Plugin folder or provide the absolute path to your File handler class. I trust that you are trying to read the file which exist on the same server where Appian is deployed.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to read file in plugin code</title><link>https://community.appian.com/thread/56174?ContentTypeID=1</link><pubDate>Mon, 04 Jun 2018 12:53:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6da5c6f-5e6c-43e2-810e-4c585fd89895</guid><dc:creator>sneham</dc:creator><description>Hi Pradeep,&lt;br /&gt;
&lt;br /&gt;
Can you please share some code snippet as to how you are reading the file.&lt;br /&gt;
&lt;br /&gt;
We generally use the ContentService to upload donwload files from Appian KC, it gives a Input/Output Stream to read and write.&lt;br /&gt;
&lt;br /&gt;
Hope this helps!&lt;br /&gt;
&lt;br /&gt;
Sneha M&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>