FTP list wip_read reset

Hi All,

This is working now. I had assumed that it was in the wip_read because the last TRACE I was getting was always just before the wip_read, but the problem happened to be straight after the wip_read function when the directory listing was being compared.
I was comparing the filename to 8 characters to search for a match and I would increment the starting point of my comparison.
This meant that if the length of the filename (plus extension) was 9 characters, I would start my comparison with the first character and compare the first 8 characters of the filename. If I didn’t find a match, I would increment the start point and compare from the second character. The reset occured when I used the third character as the start point, because the last character compared would be outside the range of the filename.

This obviously wouldn’t happen everytime, because it would sometimes get a match before using the third character as a start point.