We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My code : var savePath = remotePath if(savePath.hasSuffix("/")){ savePath = "(savePath)(localUrl.lastPathComponent)" }else{ savePath = "(savePath)/(localUrl.lastPathComponent)" } self.client?.uploadItem(at: localUrl, toPath: savePath, progress: { bytes in print("(bytes)") return true }, completionHandler: { error in if error != nil { print("(String(describing: error))") } else { print("success") } })
the savePath is. /testFloder/welcome_1.pdf
This folder is a folder under the share folder. I want to transfer files to this folder, but the error message is as follows:
Optional(Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument" UserInfo={NSLocalizedFailureReason=Error code 22: Open failed with (0xc000000d) STATUS_INVALID_PARAMETER.})
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My code :
var savePath = remotePath
if(savePath.hasSuffix("/")){
savePath = "(savePath)(localUrl.lastPathComponent)"
}else{
savePath = "(savePath)/(localUrl.lastPathComponent)"
}
self.client?.uploadItem(at: localUrl, toPath: savePath, progress: { bytes in
print("(bytes)")
return true
}, completionHandler: { error in
if error != nil {
print("(String(describing: error))")
} else {
print("success")
}
})
the savePath is. /testFloder/welcome_1.pdf
This folder is a folder under the share folder. I want to transfer files to this folder, but the error message is as follows:
Optional(Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument" UserInfo={NSLocalizedFailureReason=Error code 22: Open failed with (0xc000000d) STATUS_INVALID_PARAMETER.})
The text was updated successfully, but these errors were encountered: