SMBClient
SMBClient copied to clipboard
move file not work
I succeeded in uploading files, but always failed to move file.
Error Domain=smb.error Code=58 "No such file or directory" UserInfo={NSLocalizedDescription=No such file or directory}
Me too!
Same, guys. smbFile.exist == YES
Maybe the problem is this path parsing? https://github.com/naxos/SMBClient/blob/82dfd479c0f85aed4534a81c68cd4cb528dbfbe4/SMBClient/SMBShare.m#L397-L403
According this lines, path should be relative to old path? Should I set newPath = ../newPath.txt?
UPD: It's not work for me :(
https://github.com/naxos/SMBClient/blob/82dfd479c0f85aed4534a81c68cd4cb528dbfbe4/SMBClient/SMBFile.m#L414-L417