OPENDIR, NEXDIR, CLOSEDIR issue (GRX)
Chris Sellitto
sellich at guaranteedreturns.com
Mon Jul 20 14:07:57 PDT 2009
> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
> Sent: Monday, July 20, 2009 4:55 PM
> To: Chris Sellitto
> Cc: filepro-list at lists.celestial.com
> Subject: Re: OPENDIR, NEXDIR, CLOSEDIR issue (GRX)
>
> 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
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?
--
Christopher Sellitto
More information about the Filepro-list
mailing list