Trigger an event when file is upload on managed_file field
Finally I found a solution. I decide to use the '#upload_validators' parameter on my form and to declare my own function:

'#upload_validators' =&gt; array(
  'myOwnFunction' =&gt; array(parameters)
),
.
.
.

function myOwnFunction(parameters){
do stuff();
}