Network problems

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

admin wrote:Anybody else with different results?
I get pretty much the same results indeed, so #2 would be the way to go.

Sucks that #3 doesn't work, and always returns False, because otherwise doing #2 then #3 would have been my choice.

Sure, it'd make the thing a bit slower than #2 alone, but still very fast (a few msec), and #3 was faster by seconds when the computer wasn't available, so that would have been a definate win. (Plus, #3 wouldn't be required all the time, once it's established the computer is or is not there, it could be "cached" for a little while)

Anyways, "I get pretty much the same results indeed, so #2 would be the way to go."
Proud XYplorer Fanatic

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

Post by admin »

Please try again!

I might have fixed Check 3 and I found two more ways to check. Check 5 might be good...
I also improved the interface: only 2 buttons to click :)

Download:
http://www.xyplorer.com/download/ExistUNC.zip

Unpack and check whether the results are correct and which is the fastest method.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

Yup, 5 is good here.

Path: \\Ina\G\pqi
- Check 1: True. Time needed: 6.288 msec = 0.01 seconds
- Check 2: True. Time needed: 1.635 msec = 0.00 seconds
- Check 3: False. Time needed: 2.621 msec = 0.00 seconds
- Check 4: True. Time needed: 1.508 msec = 0.00 seconds
- Check 5: True. Time needed: 1.065 msec = 0.00 seconds

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

Post by admin »

serendipity wrote:Yup, 5 is good here.
Also good when the server is not available?

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

Post by jacky »

admin wrote:I might have fixed Check 3 and I found two more ways to check. Check 5 might be good...
I also improved the interface: only 2 buttons to click :)
Nope, Check 3 still doesn't work.
And I didn't use your "Check All" button, cause once a path has been tested with one method, the next one used after for the same path usually gets faster...

That said, yeah Check 5 seems pretty good, so I would go with a combo of Check 5 and 2 to have best results.

Available server & path:
- Check 1: True. Time needed: 1 416,014 msec = 1,42 seconds
- Check 2: True. Time needed: 2,485 msec = 0,00 seconds
- Check 3: False. Time needed: 15,309 msec = 0,02 seconds
- Check 4: True. Time needed: 33,667 msec = 0,03 seconds
- Check 5: True. Time needed: 1,783 msec = 0,00 seconds

Unavailable path on available server:
- Check 1: False. Time needed: 19,933 msec = 0,02 seconds
- Check 2: False. Time needed: 0,819 msec = 0,00 seconds
- Check 3: False. Time needed: 31,222 msec = 0,03 seconds
- Check 4: True. Time needed: 6,257 msec = 0,01 seconds
- Check 5: True. Time needed: 2,570 msec = 0,00 seconds

Unavailable server:
- Check 1: False. Time needed: 15 842,278 msec = 15,84 seconds
- Check 2: False. Time needed: 11 316,321 msec = 11,32 seconds
- Check 3: False. Time needed: 9 073,666 msec = 9,07 seconds
- Check 4: False. Time needed: 2 310,227 msec = 2,31 seconds
- Check 5: False. Time needed: 2 308,273 msec = 2,31 seconds
Proud XYplorer Fanatic

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

admin wrote:Also good when the server is not available?
Yeah, also good when server not available. And I agree with Jacky, 5 and 2 work best.

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

Post by admin »

serendipity wrote:
admin wrote:Also good when the server is not available?
Yeah, also good when server not available. And I agree with Jacky, 5 and 2 work best.
Oh, I found yet another one! Please try again!

Download:
http://www.xyplorer.com/download/ExistUNC.zip

Unpack and check whether the results are correct and which is the fastest method.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

Still 5 is better:

Path: \\Ina\SharedDocs\Scans Juli\
- Check 1: True. Time needed: 2.769 msec = 0.00 seconds
- Check 2: True. Time needed: 2.505 msec = 0.00 seconds
- Check 3: False. Time needed: 2.632 msec = 0.00 seconds
- Check 4: True. Time needed: 1.254 msec = 0.00 seconds
- Check 5: True. Time needed: 1.082 msec = 0.00 seconds
- Check 6: True. Time needed: 3.528 msec = 0.00 seconds

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

Post by admin »

serendipity wrote:Still 5 is better:

Path: \\Ina\SharedDocs\Scans Juli\
- Check 1: True. Time needed: 2.769 msec = 0.00 seconds
- Check 2: True. Time needed: 2.505 msec = 0.00 seconds
- Check 3: False. Time needed: 2.632 msec = 0.00 seconds
- Check 4: True. Time needed: 1.254 msec = 0.00 seconds
- Check 5: True. Time needed: 1.082 msec = 0.00 seconds
- Check 6: True. Time needed: 3.528 msec = 0.00 seconds
Okay, thanks.

Enough, I know what to do now. :D

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

Post by admin »

Okay, new version is up. You should note some difference in speed.

Maybe not yet with every possible constellation of (un)availability -- that's only because I have to clean up my "layers of optimization" because the recent research in network speed brought up some new insights for me that allow me to simplify certain areas of the code, and simplification is always complex :wink: ...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

As of now network works much better than it used to. If network share is not available it throws up a message as fast as explorer would do. so all that tweaking helped. thanks Don! just one thing which i guess you are still researching, is to throw up a dialogue if a share needs a password.

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

Post by admin »

serendipity wrote:just one thing which i guess you are still researching, is to throw up a dialogue if a share needs a password.
Found nothing. No idea how to do this. :( Should be very easy, probably I have bad research day...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

hmmm .. is there someway i can help? i mean i see the popup window all the time when i click the passworded share. when the popup window comes up is it worthwhile to watch the taskmanager? will it tell me anything? if so i will try doing that tmorrow at work.

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

Post by admin »

serendipity wrote:hmmm .. is there someway i can help? i mean i see the popup window all the time when i click the passworded share. when the popup window comes up is it worthwhile to watch the taskmanager? will it tell me anything? if so i will try doing that tmorrow at work.
What is the exact title of the popup window? Maybe a screenshot of it?

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

This is that popup window which appears when i click on a passworded share using explorer's network places.

Image

I try to check the "remember my password" but the shares often change it for security reasons. Anyway, this is the only place i have to use explorer instead of xyplorer.

Thanks.

Post Reply