PROBLEM
Applies To:
ITScriptNet V1/V2
When trying to upload large validation files to a portable device with ITScriptNet, the file does not completely transfer.
When a file is uploaded to a portable device, ITScriptNet opens the file in Overwrite mode and writes the data that is received from the PC. We have discovered that on some manufacturers devices, opening the file for Overwrite (as opposed to deleting the file) does not reclaim the free space from the Flash File Store. As a result, the new file can only be written up to the amount of free space that was in the file store before the upload was started. If the file is larger than the free space, it will be truncated once the file store fills up. When the upload is completed, the device will reclaim the free space. This leads to the appearance that the file was truncated with plenty of free space.
RESOLUTION
There are two ways to address this problem in ITScriptNet versions 2.4a(6) and earlier.
1. Ensure that there is free space in the Flash File Store equal to the largest file that needs to be uploaded. This problem only occurs if the file is larger than the free space.
2. Delete the existing file before uploading. If Omni communications is used, you can use the DeleteFile function to delete the existing file before uploading the new file. This allows the device to reclaim the free space before uploading the new file.
This problem will be addressed in a future version by deleting the file before uploading.
This article last updated:
1/1/2009 12:00:00 AM