SMBClient icon indicating copy to clipboard operation
SMBClient copied to clipboard

move file not work

Open laoyur opened this issue 7 years ago • 3 comments

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}

laoyur avatar Jun 02 '18 06:06 laoyur

Me too!

anonymouz4 avatar Jul 17 '18 17:07 anonymouz4

Same, guys. smbFile.exist == YES

Maybe the problem is this path parsing? https://github.com/naxos/SMBClient/blob/82dfd479c0f85aed4534a81c68cd4cb528dbfbe4/SMBClient/SMBShare.m#L397-L403

damikdk avatar Aug 27 '18 13:08 damikdk

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

damikdk avatar Aug 27 '18 14:08 damikdk