How can i export to OBJ from a webPlayer build ?

I am using this -

http://forum.unity3d.com/threads/89842-How-to-use-ObjExporter?p=1266632#

I am able to export obj when i press Play button in game mode in unity and The file is called meshFile.obj and is located in my project root, not the Assets folder.

But when i export my scene to web player, i dont see any obj file in that folder where my web files are kept. What should i do ?

Unfortunately, the Unity web player is not able to read or write files on the users HDD (for security reasons).
So what you are wanting to do is not possible.

nothing… You cant export anything from a webplayer build. Its a security thing.

kk i test its possible from standalone, but i need it from webplayer if possible

As stated above, it is not possible from the web player.

Do you need the obj file accessible outside of your app/game or are you just wanting to cache it?

You could consider using Application.ExternalCall with some client-side JavaScript. If you’re doing something like caching customizations there are some “HTML5” storage options that might be viable. I think local storage, IndexedDB or Web SQL Databases gives you more than the 1MB PlayerPrefs from Unity. Of course browser support is an issue.

But I’m making some (probably wrong) guesses about why you want that data.

If you really need to download the file, data URIs could be another option. This technically works. Allowing you to download content passed from Unity to the browser, but I don’t know that you have control over the file name and setting the appropriate mime-type could be problematic. In the end the user probably has to manually alter the file name or ext which isn’t ideal.

A really wasteful option could be POSTing the obj data to some web service you control and responding with the content so the browser downloads the file. Depending on the files, the bandwidth might not be horrible, but it is kind of crazy.

a workaround could be to send the data to a server, sava the .obj on serverside and send back a download link to Unity