How do I upload a file when I know the client's filepath?

Posted by GJTorikian on Stack Overflow See other posts from Stack Overflow or by GJTorikian
Published on 2010-06-02T22:59:48Z Indexed on 2010/06/02 23:04 UTC
Read the original article Hit count: 189

Filed under:
|
|
|
|

I'm interested in the way Sonic Living detects your iTunes library XML file. It prompts the user to approve its actions, then automatically uploads the XML file based on the client OS (and assuming the default installation path of iTunes).

How the heck does it do that? None of the upload libraries I've looked at have this feature. They all assume that a user will click "Select file..." then browse around for the right thing to upload.

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript