Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local/Remote Path Conversion Bug #32

Closed
YDEdi opened this issue Oct 7, 2024 · 6 comments
Closed

Local/Remote Path Conversion Bug #32

YDEdi opened this issue Oct 7, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@YDEdi
Copy link

YDEdi commented Oct 7, 2024

tests :
GetLocalPath("https://cloud") -> "C:\synccloud" - ok
GetLocalPath("c:\test") -> "C:\test" (why?) - ok
GetLocalPath("\machine\path") -> Empty - KO ?

@YDEdi YDEdi added the bug Something isn't working label Oct 7, 2024
@cristianbuse
Copy link
Owner

@YDEdi Not sure what GetLocalPath("\machine\path") means. Can you please provide an example?

@YDEdi
Copy link
Author

YDEdi commented Oct 7, 2024

if we work on a samba path "\\machine\path", the path must be recognized by the GetLocalPath function

@cristianbuse
Copy link
Owner

cristianbuse commented Oct 7, 2024

as far as I know this already works when you are using mapped network drives. For example, GetLocalPath("\\emea.cbre.net\a\b\c") correctly returns X:\ for me.

@cristianbuse
Copy link
Owner

@YDEdi Any updates on this? Is it still not working? If not, then can you provide me with more details?

@YDEdi
Copy link
Author

YDEdi commented Oct 21, 2024

Of course I'm testing on an unmapped share.
In a hurry, I hadn't reacted on the returnInputOnFail argument
GetLocalPath("\machine\path",,True) -> "\machine\path"

@cristianbuse
Copy link
Owner

Thanks for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants