forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Free Diskspace of UNC-Path

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
thomas
Newbie


Joined: 15 Jan 2003
Posts: 23
Location: Germany

PostPosted: Fri Jan 24, 2003 7:08 am    Post subject: Free Diskspace of UNC-Path Reply with quote

Hello,

I want to know the free Diskspace on a Share. The Share is reachable by \\Server\Share. I do not want to map this share to get a drive letter.
Is this possible??

Thanks!
Back to top
View user's profile Send private message
moke
Contributor
Contributor


Joined: 02 Jan 2002
Posts: 162

PostPosted: Fri Jan 24, 2003 2:44 pm    Post subject: Reply with quote

Hi Thomas,
Since a share can simply be a folder and not a physical drive i don't think you can do this. Typically folders are not allocated a size limitation although I recall someone telling me you could restrict the size a of a network folder. Even if you could i don't think it would be a property you could obtain remotely without remote administrative access to the server's registry. You could probably get spaced used by a few methods or maybe use an alternate method to achive the same result.

moke
Back to top
View user's profile Send private message Send e-mail
Tsunami1988
Contributor
Contributor


Joined: 15 Aug 2002
Posts: 70
Location: The Netherlands

PostPosted: Fri Jan 24, 2003 4:19 pm    Post subject: Reply with quote

Well, I think it could be done, because of this sentence in the Help-file:
Quote:
T - return type of volume:removable, Fixed, Network, CD-ROM or RAM.


But it didn't work when I used this:
Code:
INFO @VOLINFO(\\Server\Share,F)
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
moke
Contributor
Contributor


Joined: 02 Jan 2002
Posts: 162

PostPosted: Fri Jan 24, 2003 6:18 pm    Post subject: Reply with quote

I agree it maybe possible when the share is a physical drive, but if the share is a folder where would you get the data from unless you could do as i've described previously.

I just ran a test from XP 2 XP and windows reports back the same Drive size and free space for a shared folder mapped as a drive as it does for the shared root drive mapped to a drive letter.

I believe there is a way to set limitations on shared network folders restricting users to a given amount of space. Again, you would probably need administrative remote access to the registry (or obtain it locally at the server) in order to return the result of available space for a given shared folder. It would be much easier when simply accessing a shared physical drive.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group