OPENDIR, NEXDIR, CLOSEDIR issue (GRX)

Kenneth Brody kenbrody at spamcop.net
Mon Jul 20 13:54:50 PDT 2009


Chris Sellitto wrote:
> An addendum to the e-mail
> 
> If I change line 205 to *.*, then it shows me just the directory entries (".", and ".."),
> And still does not show the .CSV files. 
[...]
>> My issue:
>>
>> When I execute line 204 it will give me all .CSV files in
>> the folder in my array,(great, that worked).
>>
>> When I uncomment and execute line 205 (I already commented 204), I get no
>> files in my array even though there are ONLY 2 .csv files that exist in this
>> folder.
>>
>> When I uncomment line 206, I get all the files in that folder in my array.
>>
>> Does anyone see what I am doing wrong.  Why would it work in some cases, and
>> not others?  Any help is always appreciated.
[...]
>> 204  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>>        ◄ If:      'local drive containing an assortment of file types (.csv,
>> .txt, .zip)
>>        Then: qq=opendir("*.csv","c:\e-mails")
>> 205  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>>        ◄ If:      'network folder containing only 2 .csv files
>>        Then: 'qq=opendir("*.csv","\\server1\d$\FTPFOLDER\extranet\DMLSSFTP")
>> 206  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>>        ◄ If:      'network drive containing an assortment of file types
>> (.pdf, .exe, .ppt)
>>        Then: 'qq=opendir("*.*","\\server1\d$\FTPFOLDER\extranet\rob")
[...]

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?

-- 
Kenneth Brody


More information about the Filepro-list mailing list