Import

Richard Kreiss rkreiss at verizon.net
Thu Aug 4 06:48:05 PDT 2011



> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
> [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
> Behalf Of Richard Kreiss
> Sent: Wednesday, August 03, 2011 2:22 PM
> To: Kenneth Brody
> Cc: filepro-list at celestial.com
> Subject: Re: Import
> 
> I should have said I was using Opendir() to read the directory list.
> 
> This is on 5.6.10 as I have not upgraded my client's system to .11.
> 
> However, I will try 2 reads and if blank, end.

Made the change to have the program loop through the values qq (total files in the directory)

The program processed 774 records and not 1594 files.

What I will do, is list, on screen, the first 20 or so files processed to see if the is a pattern to what is missed.

Rcihard
> 
> Richard
> Sent from my iPhone
> 
> On Aug 3, 2011, at 12:44 PM, Kenneth Brody <kenbrody at spamcop.net>
> wrote:
> 
> > On 8/3/2011 12:02 PM, Richard Kreiss wrote:
> > [...]
> >> There are 1549 files in the directory.  However, the program only read half
> of them.
> > [...]
> >> 31  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> >> loop_fi◄ If:
> >>        Then: qa=nextdir()
> >> 32  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> >>        ◄ If: qa = ""
> >>        Then: END
> > [...]
> >
> > I'm not sure what this has to do with IMPORT, as stated in the subject line.
> However, you don't say what version of filePro you are using.  This is from
> the 5.6.11 readme:
> >
> >> (All) #1151
> >>
> >>    On some platforms, it was possible for opendir() to reurn a list of
> >>    filenames of the correct length, but which contained some blank
> >>    entries instead of the names.
> >
> > --
> > Kenneth Brody
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list