<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CAA File, how to check whether file exists or not</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e9d04533f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e9d04533f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1e9d04533f/</id><updated>2024-05-16T07:13:40.154000Z</updated><subtitle>Recent posts to CAA File, how to check whether file exists or not</subtitle><entry><title>CAA File, how to check whether file exists or not</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e9d04533f/?limit=25#3b29" rel="alternate"/><published>2024-05-16T07:13:40.154000Z</published><updated>2024-05-16T07:13:40.154000Z</updated><author><name>micik</name><uri>https://forge.codesys.com/u/micik/</uri></author><id>https://forge.codesys.coma884544822ad4538d8cc59c258ac779b8786ebba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
what would be the most efficient way to check whether the file exists or not. I don't want to use file.Open function, it seems like rather inefficiet operaton. I considered GetAttribute function, but this function doesn't accept filename (with path) as an input. &lt;/p&gt;
&lt;p&gt;Basically I need to check first time when program is loaded to the runtime i.e. when application is started for the first time, whether a file exists on the specific location or not.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>