I'm digging through the call stack and the problem is in "ShouldServiceRequest" in chromium, "policy->CanReadFile(child_id, iter->path())" is returning false. I've examined the permissions on the file and it seems like reading should be allowed. Here is the source code when I call SetToFile.
- Code: Select all
CefRefPtr<CefPostDataElement> postDataElement(CefPostDataElement::Create());
postDataElement->SetToFile(mUploadFilePath);
CefRefPtr<CefPostData> postData(CefPostData::Create());
bool b = postData->AddElement(postDataElement);
mRequest->SetPostData (postData);
mUrlRequest = CefURLRequest::Create(mRequest, this)
I am using CEF-1650. Any help would be appreciated.