I’ve been working on a Apache Cordova app for sometimes. Before seeing the light of the tunnel, I bump into issue with the file upload function.
After banging my head a number of times, it turns out the Apache Cordova FileTransfer plugin only like cdvfile:// paths rather than file:// file system path. Do NOT do that again or nothing gets submitted.