Local file is not uploaded by using both ofxHttpForm and ofxHttpUtils

Tested examples from each addon on OSX with of 0.10.0 but no file is uploaded. Tested with provided php(upload.php) by uploading to my personal website. No error but file size is 0.

I got a success by testing with online page like upload.html -> upload.php. And using cURL as below also works so there is no issue on php code and server side.

std::string cmd = “curl -F ‘myFile=@/Users/username/Desktop/front.jpg’ http://xxx/upload.php”;
string reply = ofSystem(cmd);

Any thought? Thanks in advance.