If I press F5 to copy a (single) file and enter an UNC path (f.e. \\pc1\temp) TC hangs for several minutes (even, if I click onto End Task in the task manager).
If I choose \\pc1\temp\ instead as destination (with additional backslash) it works fine.
I guess, that in the first version TC tries to find out, if the target is a folder and if not tries to create it (what fails, because it can't create a new shared folder on a pc), so it would help, to check eighter, if it is a shared folder or automatically add a backslash, if it is the first "folder" in an UNC path.
best regards
Thomas Franz[/b]
Copy to an UNC path -> TC hangs
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The with the auto-append it works fine now, but it would be nice, if you could find a solution for the problem, that TC freeze, if I enter a wrong UNC-Path (f.e. \\sevrer1\temp instead of \\server1\temp) or the Server is offline, too.
I don't know, if there is a quick API-Methode to check for the aviability of a server / sharing / directory or if there is a way to set a short (max. 10 sec) timeout to find the destination.
best regards
Thoams
I don't know, if there is a quick API-Methode to check for the aviability of a server / sharing / directory or if there is a way to set a short (max. 10 sec) timeout to find the destination.
best regards
Thoams
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for confirming the fix!
Unfortunately there is neither a quick way to detect whether a server is accessible, nor a configurable timeout for file functions. The only way is to call the function in a background thread, and then show a dialog after a while where the user can cancel the operation.
I'm using this method for FindFirstFile now, you can try it if you want:
wincmd.ini
[Configuration]
ThreadFindFirst=1
I will probably make this the default in one of the next betas. Currently there is no such option for copying or other file operations, sorry.
Unfortunately there is neither a quick way to detect whether a server is accessible, nor a configurable timeout for file functions. The only way is to call the function in a background thread, and then show a dialog after a while where the user can cancel the operation.
I'm using this method for FindFirstFile now, you can try it if you want:
wincmd.ini
[Configuration]
ThreadFindFirst=1
I will probably make this the default in one of the next betas. Currently there is no such option for copying or other file operations, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com