vendredi 27 mars 2015

Uploading file, getting fakepath

I am trying to upload a video to youtube through their API


I use a HTML input field, but for some reason, it gives me a path like


C:\fakepath\..


Why is this and how can I get the right filepath, so I can use it in my request



<input type="file" name="fileName" data-schema-key="fileName">

Aucun commentaire:

Enregistrer un commentaire