when I upload NSData file,but get error: "smb_fwrite(smb_session *s, smb_fd fd, void *buf, size_t buf_size) " return -1