-
Notifications
You must be signed in to change notification settings - Fork 86
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
smb_file_mv seems not working #98
Comments
Hi, |
I've tried different variations =) This not working too
|
Repo with example |
Hi, |
Hi, have you solved this issue? We face the same problem :( |
It should not be hard to fix, tbh. |
Ah, interesting. |
I fail to reproduce the issue. For future reference here is the sample I used
|
I have not tried this myself but the examples above as well as the linked project are using double backslashes in the file path like if referencing another host(?) in the middle of the path string. Typically an SMB path when connecting using the explorer in Windows looks like this: (edited with correct number of slashes) |
This is because you have to inhibit the '' special meaning in most languages using another backslash. In the resulting string, there will be only 1 backslash |
Yes I understand that you need to escape the backslash but what I do not understand is why there are more backslashes in the middle of the path than at the beginning. Also my example in the comment above was autocorrected by my phone. Windows share example again: The original question by DemianSteelstone writes his path like this after escaping: The comment just above my first comment (the one made by you @chouquette) writes the file path as I would expect it to be written: What I am trying to say is that your (chouquette) example looks correct while the other examples all have the same error(?) in common. I will try this lib on iOS after vacation because it looks fun. If I am on the wrong track, any pointers would be appreciated :) |
Oops, sorry about the confusion then :) |
I know nothing about the smb protocol and I think you did a fine job with this lib. Was just worried when I saw the bug right after I made up my mind on using this lib and thought that a feature like move must be working and cannot really have gone unnoticed. A newbie question, why are the paths specified using back slashes instead of forward slashes like in Linux or MacOS? |
We face the same problem, how to solve? |
the same problem here, any news ? |
Hi,
I'm trying to use your lib in my ios project
But have some troubles with move operation.
My code example:
and now I got "result == -3"
Maybe I'm doing something wrong?
Other operations like create folder or remove works perfectly.
The text was updated successfully, but these errors were encountered: