<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Check File if locked (will be read-only if opened) or not locked (alloow update and save if opened) in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Check-File-if-locked-will-be-read-only-if-opened-or-not-locked/m-p/64667#M17407</link>
    <description>​I want a code stage to detect if a file is locked by another user (who has write rights to it - not read-only).&lt;BR /&gt;I do not want to attempt opening the file to determine this.&lt;BR /&gt;The file could be open by a human (outside of BP environment) so cant use environmental lock approach.&lt;BR /&gt;&lt;BR /&gt;So if not locked&amp;nbsp;then the BOT could open the file and&amp;nbsp;it would be&amp;nbsp;allow update and save.&lt;BR /&gt;&lt;BR /&gt;If I could have the required code to build a code stage would be great.&lt;BR /&gt;Thanks in advance</description>
    <pubDate>Mon, 20 Apr 2020 23:32:00 GMT</pubDate>
    <dc:creator>DT</dc:creator>
    <dc:date>2020-04-20T23:32:00Z</dc:date>
    <item>
      <title>Check File if locked (will be read-only if opened) or not locked (alloow update and save if opened)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Check-File-if-locked-will-be-read-only-if-opened-or-not-locked/m-p/64667#M17407</link>
      <description>​I want a code stage to detect if a file is locked by another user (who has write rights to it - not read-only).&lt;BR /&gt;I do not want to attempt opening the file to determine this.&lt;BR /&gt;The file could be open by a human (outside of BP environment) so cant use environmental lock approach.&lt;BR /&gt;&lt;BR /&gt;So if not locked&amp;nbsp;then the BOT could open the file and&amp;nbsp;it would be&amp;nbsp;allow update and save.&lt;BR /&gt;&lt;BR /&gt;If I could have the required code to build a code stage would be great.&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Mon, 20 Apr 2020 23:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Check-File-if-locked-will-be-read-only-if-opened-or-not-locked/m-p/64667#M17407</guid>
      <dc:creator>DT</dc:creator>
      <dc:date>2020-04-20T23:32:00Z</dc:date>
    </item>
  </channel>
</rss>

