Information générale
Catégorie:
Fonctions Windows API
>Is the DISKSPACE() function available?
>
>Joe
>
>>I would like to know how much space is available on an NT Server using UNC. I can see available space through explorer so why can't FoxPro see it with API calls?
>>
>>I am moving files around so I need to know how much is avaliable in advance of the movement. I have found GetDiskFreeSpace API but this does not seem to work using UNC and allocation of drive letters should be avoided.
>>
>>The application is in Fox 2.6, in Windows 95 using an NT 3.5 server. Any help would appreciated.
>>
>>Jason
Thanks for replying, but DiskSpace does not work with UNC (\\server\share) addressing.
Problem has now been solved with 4 API calls to make and cancel network connections, determine available logical drive letters and to return the free space.
Jason
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement