TOSMBClient
TOSMBClient copied to clipboard
Upload task can not be suspend
I start a TOSMBSessionUploadTask and then try to suspend it call the suspend() method, but the uploading is continue, and then if calling the resume() method before upload finished, didCompleteWithError and uploadTaskDidFinishUploading will both be triggered. The final result is that upload task will stopped with error, and just part of file be uploaded to the server.