OPENDIR, NEXDIR, CLOSEDIR issue (GRX)

Kenneth Brody kenbrody at spamcop.net
Mon Jul 20 14:37:50 PDT 2009


Chris Sellitto wrote:
[...]
>> Given that line 206 works, and 205 (when changed to "*.*" just like 206)
>> doesn't, I would first look at the actual directories
>> "\\server1\d$\FTPFOLDER\extranet\DMLSSFTP" as compared to
>> "\\server1\d$\FTPFOLDER\extranet\rob".
>>
>> What's different about them that might cause a difference in filePro?
> 
> I have to be honest with you Ken, I cannot find anything different, or out of the ordinary
> between these 2 folders, aside from the fact that they have different amounts of files
> within them.  Could it be that some of the characters are being resolved because of the
> backslashes?

As I recall, there was a problem if the directory contained more than 999 
files matching the wildcard, in that opendir() would return the number 
modulo 1000.  (Though nextdir() would return the entire set of files.)  But, 
unless there were an exact multiple of 1000 *.csv files, and exactly 2 more 
than an a multiple of 1000 *.* files, I find this unlikely as the cause.

As for backslashes, that shouldn't be an issue.  However, if you are 
concerned about it, simply change them to forward slashes.

-- 
Kenneth Brody


More information about the Filepro-list mailing list