Please be aware that there is quite a serious bug in the GET$#file function, which can cause the returned string to be corrupted if it is longer than 65535 characters (specifically, the first four characters may be overwritten). The conditions under which this occurs are quite obscure and difficult to predict, although repeatable. If you need to be absolutely certain of the integrity of the data, read it in chunks of 65535 bytes or fewer.
There is code present specifically to prevent this problem - but owing to a 'stupidity' it is ineffective. 
Richard. |
|