{"id":3417,"date":"2015-11-11T23:58:14","date_gmt":"2015-11-11T23:58:14","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=3417"},"modified":"2019-11-27T09:17:40","modified_gmt":"2019-11-27T17:17:40","slug":"troubleshooting-input-files-of-zero-bytes-stops-director","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/troubleshooting-input-files-of-zero-bytes-stops-director\/","title":{"rendered":"Troubleshooting: Input Files of Zero Bytes Stops Director"},"content":{"rendered":"<p>The Director watches the input directory for files to process. A typical configuration includes a matching condition, such as files that have an extension of .dat. Some applications might send a file to the input directory that have a size of zero bytes; the file is empty.<\/p>\n<p>Before eFORMz Version 11, the Director attempts to process these zero-byte files, but cannot open a file of zero bytes. As a result, the Director gets stuck.<\/p>\n<p>You can confirm this condition by going to your input directory and seeing whether any of the files there that meet the matching condition have a size of zero bytes.<\/p>\n<p>One\u00a0way to avoid this problem is to set up a file size selector so that the Director overlooks files of zero bytes. Complete the following steps to set up a file size selector:<\/p>\n<ol>\n<li>Start the eFORMz Composer and click Host Tools &gt; Local Director Toolkit (for projects that are on the local system).<\/li>\n<li>Open the configuration file for your project if it is not already open.<\/li>\n<li>Select the File Selection node, and then click Change.<\/li>\n<li>In Additional File Selector, select File Size Selector, as shown in the image.<\/li>\n<li>Click File Selector Properties.<\/li>\n<li>Select larger than, enter 0 (zero) for the file size, and click OK to save your changes.<\/li>\n<li>Save your updated configuration file. You must restart the Director service to pick up your changes.\n<div id=\"attachment_3419\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/09\/FileSizeSelectorProperties.jpg\"><img aria-describedby=\"caption-attachment-3419\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-3419 size-medium\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2015\/09\/FileSizeSelectorProperties-300x104.jpg\" alt=\"\" width=\"300\" height=\"104\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/09\/FileSizeSelectorProperties-300x104.jpg 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/09\/FileSizeSelectorProperties-150x52.jpg 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/09\/FileSizeSelectorProperties-250x87.jpg 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2015\/09\/FileSizeSelectorProperties.jpg 364w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-3419\" class=\"wp-caption-text\">This file size selector excludes files that are zero bytes.<\/p><\/div><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The Director watches the input directory for files to process. A typical configuration includes a matching condition, such as files that have an extension of .dat. Some applications might send a file to the input directory that have a size of zero bytes; the file is empty. Before eFORMz Version 11, the Director attempts to [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,15],"tags":[],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3417"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=3417"}],"version-history":[{"count":4,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3417\/revisions"}],"predecessor-version":[{"id":7723,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3417\/revisions\/7723"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=3417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=3417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=3417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}