<?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 Re: Comprobar si existe un archivo in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comprobar-si-existe-un-archivo/m-p/386767#M144450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/85612"&gt;https://community.qlik.com/thread/85612&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2015 13:14:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-25T13:14:46Z</dc:date>
    <item>
      <title>Comprobar si existe un archivo</title>
      <link>https://community.qlik.com/t5/QlikView/Comprobar-si-existe-un-archivo/m-p/386766#M144449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola a todos, tengo una duda con qlikview, y me gustaria ver si alguien puede ayudarme.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alguien sabe si hay alguna funcion que indique si existe un determinado archivo en una direccion de nuestro equipo o red? Como funciona?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Un cordial saludo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 07:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comprobar-si-existe-un-archivo/m-p/386766#M144449</guid>
      <dc:creator />
      <dc:date>2013-02-27T07:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Comprobar si existe un archivo</title>
      <link>https://community.qlik.com/t5/QlikView/Comprobar-si-existe-un-archivo/m-p/386767#M144450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/85612"&gt;https://community.qlik.com/thread/85612&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 13:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comprobar-si-existe-un-archivo/m-p/386767#M144450</guid>
      <dc:creator />
      <dc:date>2015-06-25T13:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Comprobar si existe un archivo</title>
      <link>https://community.qlik.com/t5/QlikView/Comprobar-si-existe-un-archivo/m-p/386768#M144451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;&lt;A name="kanchor628"&gt;&lt;/A&gt;File Functions in Script&lt;/H1&gt;&lt;P&gt;&lt;A name="kanchor629"&gt;&lt;/A&gt;The file functions (only available in script expressions) return information about the table file which is currently being read. These functions will return NULL for all data sources except table files (Exception: &lt;SPAN class="Bold"&gt;ConnectString( )&lt;/SPAN&gt;). &lt;/P&gt;&lt;P&gt;Click on the functions that you would like to know more about:&lt;/P&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="attribute"&gt;&lt;IMG class="jive-image MCDropDownIcon" src="https://community.qlik.com/" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;Attribute(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;filename, attributename&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P class="MCDropDownBody"&gt;&lt;/P&gt;&lt;P&gt;Returns the value of the meta tags of different file formats, e.g. MP3, WMA, WMV and JPG files, as text. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;Filename&lt;/SPAN&gt; is the name of a media file including path, if needed. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Italic"&gt;Attributename&lt;/SPAN&gt; is the name of a meta tag. &lt;/P&gt;&lt;P&gt;If the file &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; does not exist, is not a supported file format or does not contain a meta tag named &lt;SPAN class="Italic"&gt;attributename&lt;/SPAN&gt;, null will be returned. &lt;/P&gt;&lt;P&gt;A large number of meta tags can be used, e.g. ‘Artist’ or ‘Date Picture Taken’. The supported tags can automatically be generated in the script. The keyboard shortcut for this generation is Ctrl + Q,J,P,G for jpg files (keep the Ctrl key pressed while typing the QJPG combination), Ctrl + Q,M,P,3 for mp3 files and Ctrl + Q,W,M,A for wma files. &lt;/P&gt;&lt;DIV class="note"&gt;&lt;STRONG&gt;Note!&lt;/STRONG&gt; &lt;BR /&gt;You can only read meta tags saved in the file according to the relevant specification, for example ID2v3 for MP3 files or EXIF for JPG files, not meta information saved in the Windows File Explorer.&lt;P&gt;&lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;Attribute('File', 'Title') as X,&lt;/P&gt;&lt;P&gt;returns the mp3 tag 'title' in field &lt;SPAN class="Italic"&gt;X&lt;/SPAN&gt; in each record. &lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="ConnectString"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;ConnectString()&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P class="MCDropDownBody"&gt;Returns the active &lt;SPAN class="Bold"&gt;connect&lt;/SPAN&gt; string for ODBC or OLE DB connection. Returns an empty string if no &lt;SPAN class="Bold"&gt;connect&lt;/SPAN&gt; statement has been executed or after a &lt;SPAN class="Bold"&gt;disconnect&lt;/SPAN&gt; statement. &lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="filebasename"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;filebasename()&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns a string containing the name of the table file currently being read, without path or extension. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;Load *, filebasename( ) as X from&lt;/P&gt;&lt;P class="Code"&gt;C:\UserFiles\abc.txt&lt;/P&gt;&lt;P&gt;Will return 'abc' in field X in each record read. &lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="filedir"&gt;&lt;IMG class="jive-image MCDropDownIcon" src="https://community.qlik.com/" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;filedir()&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns a string containing the path to the directory of the table file currently being read. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;Load *, filedir( ) as X from&lt;/P&gt;&lt;P class="Code"&gt;C:\UserFiles\abc.txt&lt;/P&gt;&lt;P&gt;Will return 'C:\UserFiles' in field X in each record read. &lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="fileextension"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;fileextension()&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns a string containing the extension of the table file currently being read. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;Load *, fileextension( ) as X from&lt;/P&gt;&lt;P class="Code"&gt;C:\UserFiles\abc.txt&lt;/P&gt;&lt;P&gt;Will return 'txt' in field X in each record read. &lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="filename"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;filename()&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns a string containing the name of the table file currently being read, without path but including the extension. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;Load *, filename( ) as X from&lt;/P&gt;&lt;P class="Code"&gt;C:\UserFiles\abc.txt&lt;/P&gt;&lt;P&gt;Will return 'abc.txt' in field X in each record read. &lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="filepath"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;filepath()&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns a string containing the full path to the table file currently being read. &lt;/P&gt;&lt;P class="example"&gt;Example:&lt;/P&gt;&lt;P class="Code"&gt;Load *, filepath( ) as X from&lt;/P&gt;&lt;P class="Code"&gt;C:\UserFiles\abc.txt&lt;/P&gt;&lt;P&gt;Will return 'C:\UserFiles\abc.txt' in field X in each record read. &lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="filesize"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;filesize()&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns an integer containing the size in bytes of the file &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; or, if no &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; is specified, of the table file currently being read. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;filesize( 'xyz.xls' )&lt;/P&gt;&lt;P&gt;Will return the size of the file xyz.xls. &lt;/P&gt;&lt;P class="Code"&gt;Load *, filesize( ) as X from abc.txt ;&lt;/P&gt;&lt;P&gt;Will return the size of the specified file (abc.txt) as an integer in field X in each record read. &lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="filetime"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;filetime(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;[ filename ]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns a timestamp for the date and time of the last modification of the file &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt;. If no &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; is specified, the function will refer to the currently read table file. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;filetime( 'xyz.xls' )&lt;/P&gt;&lt;P&gt;Will return the timestamp of the last modification of the file xyz.xls. &lt;/P&gt;&lt;P class="Code"&gt;Load *, filetime() as X from abc.txt ;&lt;/P&gt;&lt;P&gt;Will return the date and time of the last modification of the file (abc.txt) as a timestamp in field X in each record read. &lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="GetFolderPath"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;GetFolderPath()&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns the value of the Microsoft Windows SHGetFolderPath function and returns the path for e.g. &lt;SPAN class="Italic"&gt;My Music&lt;/SPAN&gt;. Note that the function does not use the spaces seen in Windows Explorer. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;GetFolderPath('MyMusic') &lt;/P&gt;&lt;P class="Code"&gt;GetFolderPath('MyPictures') &lt;/P&gt;&lt;P class="Code"&gt;GetFolderPath('MyVideos') &lt;/P&gt;&lt;P class="Code"&gt;GetFolderPath('MyReceivedFiles') &lt;/P&gt;&lt;P class="Code"&gt;GetFolderPath('MyShapes') &lt;/P&gt;&lt;P class="Code"&gt;GetFolderPath('ProgramFiles') &lt;/P&gt;&lt;P class="Code"&gt;GetFolderPath('Windows') &lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="QvdCreateTime"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;QvdCreateTime(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns the XML-header time stamp from a QVD file if any (otherwise NULL). &lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; is the name of a QVD file, if necessary including path. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;QvdCreateTime('MyFile.qvd')&lt;/P&gt;&lt;P class="Code"&gt;QvdCreateTime('C:\MyDir\MyFile.qvd')&lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="QvdNoOfRecords"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;QvdNoOfRecords(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns the number of records currently in a QVD file. &lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; is the name of a QVD file, if necessary including path. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;QvdNoOfRecords ('MyFile.qvd')&lt;/P&gt;&lt;P class="Code"&gt;QvdNoOfRecords ('C:\MyDir\MyFile.qvd')&lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="QvdNoOfFields"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;QvdNoOfFields(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns the number of fields in a QVD file. &lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; is the name of a QVD file, if necessary including path. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;QvdNoOfFields ('MyFile.qvd')&lt;/P&gt;&lt;P class="Code"&gt;QvdNoOfFields ('C:\MyDir\MyFile.qvd')&lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="QvdFieldName"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;QvdFieldName(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;filename , fieldno&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns the name of field number &lt;SPAN class="Italic"&gt;fieldno&lt;/SPAN&gt;, if it exists in a QVD file (otherwise NULL). &lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; is the name of a QVD file, if necessary including path. &lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Italic"&gt;fieldno&lt;/SPAN&gt; is the number of the field (0 based) within the table contained in the QVD file. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;QvdFieldName ('MyFile.qvd', 3)&lt;/P&gt;&lt;P class="Code"&gt;QvdFieldName ('C:\MyDir\MyFile.qvd', 5)&lt;/P&gt;&lt;/DIV&gt;&lt;P class="MCDropDown"&gt;&lt;/P&gt;&lt;DIV class="MCDropDownHead_syntax_0"&gt;&lt;A class="MCDropDownHotSpot_0" name="QvdTableName"&gt;&lt;IMG class="jive-image MCDropDownIcon" style="margin-right: 5px; border-style: none;" /&gt;&lt;SPAN class="Bold"&gt;QvdTableName(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/A&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns the name of the table contained in a QVD file. &lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; is the name of a QVD file, if necessary including path. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;QvdTableName ('MyFile.qvd')&lt;/P&gt;&lt;P class="Code"&gt;QvdTableName ('C:\MyDir\MyFile.qvd')&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 16:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comprobar-si-existe-un-archivo/m-p/386768#M144451</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-06-25T16:49:51Z</dc:date>
    </item>
  </channel>
</rss>

