<?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: FTP server returns invalid file info for selected directory in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289522#M60798</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186436"&gt;@MattJCole&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to my attached fio.h&lt;/P&gt;
&lt;P&gt;Location is mqx/source/include&amp;nbsp; in MQX 4.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 02:37:59 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2021-06-09T02:37:59Z</dc:date>
    <item>
      <title>FTP server returns invalid file info for selected directory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1287013#M60715</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am using&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Using KSDK 1.3&lt;/LI&gt;&lt;LI&gt;MFS library for the file system&lt;/LI&gt;&lt;LI&gt;RTCS library for the FTP server&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For some reason once I put more than 2GB of data in the Data folder the selected folder after 2GB returns invalid info about the files is in the folder. Each of the folder contain the same amount of data (1.09 GB) and the same exact files. Does anyone know what I need to do to fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattJCole_0-1622745699682.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146183iF8A009184FC51F80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MattJCole_0-1622745699682.png" alt="MattJCole_0-1622745699682.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Incorrect&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattJCole_1-1622745699754.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/146184i37EC1C92353A35EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MattJCole_1-1622745699754.png" alt="MattJCole_1-1622745699754.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 18:46:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1287013#M60715</guid>
      <dc:creator>MattJCole</dc:creator>
      <dc:date>2021-06-03T18:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: FTP server returns invalid file info for selected directory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1287980#M60763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186436"&gt;@MattJCole&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This seems a MFS file system issue.&lt;/P&gt;
&lt;P&gt;Could you please merge my attached source code and try it again?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 06:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1287980#M60763</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2021-06-07T06:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: FTP server returns invalid file info for selected directory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1288388#M60772</link>
      <description>&lt;P&gt;That is a&amp;nbsp; no go. The files you sent me match the files. I think you didn't send me the files that fixed the problem. I believe you are correct that it is a&amp;nbsp;&lt;SPAN&gt;MFS file system issue. The&amp;nbsp;MFS file system code is using 32 bits for the address instead of 64 bits. Can you send me the code in&amp;nbsp;mfs\source\generic and&amp;nbsp;mfs\include. I will merge what I&amp;nbsp;need.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 14:42:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1288388#M60772</guid>
      <dc:creator>MattJCole</dc:creator>
      <dc:date>2021-06-07T14:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: FTP server returns invalid file info for selected directory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289247#M60788</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186436"&gt;@MattJCole&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;attached source code is from MQX 4.2.0.&amp;nbsp; &amp;nbsp;(same with KSDK1.3)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;the code I attached in last post is based on this version (MQX 4.2.0).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 14:55:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289247#M60788</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2021-06-08T14:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: FTP server returns invalid file info for selected directory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289389#M60795</link>
      <description>&lt;P&gt;I get a compiler error. It doesn't know what&amp;nbsp;MQX_FILE_PTR is. What is&amp;nbsp;MQX_FILE_PTR?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 19:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289389#M60795</guid>
      <dc:creator>MattJCole</dc:creator>
      <dc:date>2021-06-08T19:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: FTP server returns invalid file info for selected directory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289522#M60798</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186436"&gt;@MattJCole&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to my attached fio.h&lt;/P&gt;
&lt;P&gt;Location is mqx/source/include&amp;nbsp; in MQX 4.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 02:37:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289522#M60798</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2021-06-09T02:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: FTP server returns invalid file info for selected directory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289909#M60807</link>
      <description>&lt;P&gt;I added the file. Do I need to add a define anywhere? Is so what and where do I add it.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 12:38:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289909#M60807</guid>
      <dc:creator>MattJCole</dc:creator>
      <dc:date>2021-06-09T12:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: FTP server returns invalid file info for selected directory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289929#M60808</link>
      <description>&lt;P&gt;I do not think what you sent me is going to work. The RTOS is heavily dependent on an int for the file not&amp;nbsp;MQX_FILE_PTR. The only way I can see this working is if I change the all of the libraries I use. Do you have a version of the MFS file system that uses an int for the file that do not have the bug that prevents the use of SD cards larger then 2 GB&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:41:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\include\fio.h:239:21: error: conflicting types for '_io_get_fs_by_name'&lt;BR /&gt;extern MQX_FILE_PTR _io_get_fs_by_name(char *fs_name);&lt;BR /&gt;^&lt;BR /&gt;In file included from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:38:0:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\nio\fs\fs_supp.h:52:5: note: previous declaration of '_io_get_fs_by_name' was here&lt;BR /&gt;int _io_get_fs_by_name(char *fs_name);&lt;BR /&gt;^&lt;BR /&gt;In file included from c:\freescale\ksdk_1.3.0\middleware\filesystem\mfs\source\include\mfs.h:39:0,&lt;BR /&gt;from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:41:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\include\fio.h:240:21: error: conflicting types for '_io_get_fs_name'&lt;BR /&gt;extern int32_t _io_get_fs_name(MQX_FILE_PTR fs_ptr, char *fs_name, int32_t fs_name_len);&lt;BR /&gt;^&lt;BR /&gt;In file included from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:38:0:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\nio\fs\fs_supp.h:53:5: note: previous declaration of '_io_get_fs_name' was here&lt;BR /&gt;int _io_get_fs_name(int fd, char *fs_name, int32_t fs_name_len);&lt;BR /&gt;^&lt;BR /&gt;In file included from c:\freescale\ksdk_1.3.0\middleware\filesystem\mfs\source\include\mfs.h:39:0,&lt;BR /&gt;from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:41:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\include\fio.h:241:21: error: conflicting types for '_io_is_fs_valid'&lt;BR /&gt;extern bool _io_is_fs_valid(MQX_FILE_PTR fs_ptr);&lt;BR /&gt;^&lt;BR /&gt;In file included from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:38:0:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\nio\fs\fs_supp.h:54:5: note: previous declaration of '_io_is_fs_valid' was here&lt;BR /&gt;int _io_is_fs_valid(int fd);&lt;BR /&gt;^&lt;BR /&gt;In file included from c:\freescale\ksdk_1.3.0\middleware\filesystem\mfs\source\include\mfs.h:39:0,&lt;BR /&gt;from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:41:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\include\fio.h:243:21: error: conflicting types for '_io_unregister_file_system'&lt;BR /&gt;extern uint32_t _io_unregister_file_system(MQX_FILE_PTR fd_ptr);&lt;BR /&gt;^&lt;BR /&gt;In file included from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:38:0:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\nio\fs\fs_supp.h:57:10: note: previous declaration of '_io_unregister_file_system' was here&lt;BR /&gt;uint32_t _io_unregister_file_system(int fd);&lt;BR /&gt;^&lt;BR /&gt;In file included from c:\freescale\ksdk_1.3.0\middleware\filesystem\mfs\source\include\mfs.h:39:0,&lt;BR /&gt;from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:41:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\include\fio.h:244:21: error: conflicting types for '_io_register_file_system'&lt;BR /&gt;extern uint32_t _io_register_file_system(MQX_FILE_PTR fd_ptr,char *name_ptr);&lt;BR /&gt;^&lt;BR /&gt;In file included from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:38:0:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\nio\fs\fs_supp.h:56:10: note: previous declaration of '_io_register_file_system' was here&lt;BR /&gt;uint32_t _io_register_file_system(int fd, char *name_ptr);&lt;BR /&gt;^&lt;BR /&gt;In file included from c:\freescale\ksdk_1.3.0\middleware\filesystem\mfs\source\include\mfs.h:39:0,&lt;BR /&gt;from C:/Freescale/KSDK_1.3.0/rtos/mqx/nshell/source/mfs/sh_cache.c:41:&lt;BR /&gt;c:\freescale\ksdk_1.3.0\rtos\mqx\mqx\source\include\fio.h:255:16: fatal error: io.h: No such&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 13:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1289929#M60808</guid>
      <dc:creator>MattJCole</dc:creator>
      <dc:date>2021-06-09T13:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: FTP server returns invalid file info for selected directory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1291917#M60845</link>
      <description>&lt;P&gt;So no more help with fixing your MFS file system library?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 12:31:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FTP-server-returns-invalid-file-info-for-selected-directory/m-p/1291917#M60845</guid>
      <dc:creator>MattJCole</dc:creator>
      <dc:date>2021-06-14T12:31:23Z</dc:date>
    </item>
  </channel>
</rss>

