I'll keep an eye on it on newer larger drives, but it works for what I have
now.

Fred

On Thu, Nov 12, 2015 at 12:12 PM, Fernando D. Bozzo <[email protected]>
wrote:

> Hi Fred :
>
> I've not used it for a long long time, but I remember that I've read
> something on the docs too, here:
>
> https://msdn.microsoft.com/en-US/library/3cka5hze(v=vs.80).aspx
>
> The note says:
>
> The return value of DISKSPACE( ) might not be accurate for large network
> drives on some networks. Additionally, DISKSPACE( ) may return -1 for
> certain long named directories on Windows 98.
> El 12/11/2015 7:48 p. m., "Fred Taylor" <[email protected]> escribió:
>
> > I recall problems on W95/98, but not in XP or W7.  Isn't this more likely
> > an OS issue then? At my old job we used to run VFP program to that kept
> our
> > immediate online storage of .WAV files from phone calls, and had to
> > maintain free space at 30GB (on a 2TB drive) free.  Worked just fine, the
> > server was W2003 and ran OK on the server or from an XP/W7 workstation.
> >
> > Seems to work on W2008R2 and W10Pro OK, too.
> >
> > Fred
> >
> > On Thu, Nov 12, 2015 at 11:32 AM, Fernando D. Bozzo <[email protected]>
> > wrote:
> >
> > > Well, you can find a lot of info about diskspace function problems, and
> > > it's well known that on some network drives the returned value is not
> > > accurate (sometimes not at all). I've dealed with this problem before
> > with
> > > a module that checked free space with a timer, and had to change it
> > because
> > > too many errors occurred.
> > > In local drives it may be accurate, but I'm not sure up what size of
> > drive.
> > > El 12/11/2015 7:09 p. m., "Fred Taylor" <[email protected]> escribió:
> > >
> > > > Since when?  I just ran it on my network drives (500GB+free) and it
> > > returns
> > > > a valid number, certainly way more than 2GB.
> > > >
> > > > Fred
> > > >
> > > > On Thu, Nov 12, 2015 at 8:40 AM, Fernando D. Bozzo <
> [email protected]>
> > > > wrote:
> > > >
> > > > > Hi Fred:
> > > > >
> > > > > DISKSPACE() function is not useful anymore, because it have the 32
> > bits
> > > > > limitations, so can't report anything higher from 2 GB.
> > > > >
> > > > > There are alternatives, as Dave's and more:
> > > > >
> > > > > http://fox.wikis.com/wc.dll?Wiki~DiskSpace
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> http://www.foxite.com/archives/best-way-to-show-drive-capacity-0000257308.htm
> > > > >
> > > > >
> > > > > Best Regards.-
> > > > >
> > > > >
> > > > >
> > > > > 2015-11-12 16:14 GMT+01:00 Fred Taylor <[email protected]>:
> > > > >
> > > > > > Have you looked at the DISKSPACE() function?
> > > > > >
> > > > > > Fred
> > > > > >
> > > > > > On Thu, Nov 12, 2015 at 8:10 AM, Tracy Pearson <
> > > [email protected]>
> > > > > > wrote:
> > > > > >
> > > > > > > Has anyone implemented a check for disk space to protect
> against
> > > loss
> > > > > of
> > > > > > > data.
> > > > > > > The VFP tables will be local or on a network.
> > > > > > >
> > > > > > > I haven't researched this yet, it is more a question at the
> > moment.
> > > > > > >
> > > > > > > Thank you,
> > > > > > > Tracy
> > > > > > >
> > > > > > >
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAJCBksrNcaKW_sii0LWwTnKpXu=6_xet6b6wj0jh4oyyswy...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to