How to import from local hard drive using API?

How to import from local hard drive using API?

I know how to import from url (import.do?url=) but cant find how to import from my local HD a xls file using the API?




Thx