Goto... hidden network share doesn't work

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Creat
Posts: 234
Joined: 22 Sep 2005 18:27

Goto... hidden network share doesn't work

Post by Creat »

Me again, hope I'm not annoying the hell out of you already :)

I was reading this post and thought 'hey, cool I use diect network addresses a lot!' so I tried it. Unfortunately I seem to have hit a few unfortunate key combinations and even got Tracker to crash in the process somehow (error 9, subscript out of range)

Here's the first thing I noticed (no crash):
When you try to go to a hidden share it doesn't work, instead the sharelist of the PC the requested share is on is displayed. Every share that ends it's name with a $-sign is considered hidden - also called administrative shares sometimes - and doesn't show up on the browselist. It has to be specifically requested from the server. The administrative shares C$ (and every other existing drive letter) exist on every win2k system for example (important in companies so you don't have to create shares on every PC that you might some day need access to...), not sure about XP but probably not or only in the pro versions and above, they still work like this though.

Second thing: Everytime you go to one of these adresses the server of the share gets selected and the browselist is refreshed, but the existing items aren't cleared. So if I have a PC called "peter" with only 1 share named "stuff" I end up with this after I tried 3 hidden adresses (not sure if it happens under other conditions as well):
Peter
+ stuff
+ stuff
+ stuff

Also the whole goto-network thing is also quite slow for me when I goto any share. Even if the share is mapped to a drive letter locally it takes about 20 seconds to connect. If I enter the same address in the Start->Run dialog it appears almost instantly.

From all this I assume that when a network share is entered in the goto-box you try to get a network browse list, get the PC and then it's sharelist to get the right share. Can't you just request a directory listing for the entered Resource and only locate it the hard way if that gives you an error? That should solve all those problems above (for example the CFindFile Class of the MFC takes "\\somePC\sharename\*.*" as input and lists the files, also without delay. It also lists hidden shares.).

The Crash:
I can reproduce it by having my network places expanded and one of the PCs selected (can be the local PC afaik. I do a Ctrl-F4 to rebuild the tree, which - as mentioned above - takes a while. If I click during this time on expanded items on the tree from some local drive (which the rebuild will close) I get the aforementioned runtime-error 9: subscript out of range. This was also when I noticed that the cursor doesn't change to the hour glass when there it network activity that blocks the ap (which is how I got the error the first time, I thought it had refreshed and wanted to change directory).
The error doesn't happen 100% of the time, but at least 75% and it seems to be more likely the more soon-to-be-collapsed items I click.

Huh... sorry, didn't mean to write a whole book :/ , I hope this makes at least my questions/problems clear, if not just ask :)

bye
Creat

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Goto... hidden network share doesn't work

Post by jacky »

Creat wrote:Second thing: Everytime you go to one of these adresses the server of the share gets selected and the browselist is refreshed, but the existing items aren't cleared. So if I have a PC called "peter" with only 1 share named "stuff" I end up with this after I tried 3 hidden adresses (not sure if it happens under other conditions as well):
Peter
+ stuff
+ stuff
+ stuff
Yes, same here. Whenever I use Go to and enter a path that doesn't exists, all folders for that computer are duplicated.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Goto... hidden network share doesn't work

Post by admin »

Ok. I could fix the crash and avoid those node duplications. Thanks for seeing that! (wait for next upload)

Conc hidden network shares: this would involve some bigger restructuring I have no time for now.

"takes about 20 seconds to connect" ... oh boy, I wish I would know the bottleneck... over here it's all just fast.

Post Reply