views:

419

answers:

2

I would like to upload file from the client to the server with a Front End in SilverLight.

My problem is that the file is NOT in the isolation storage (that would be easy!).

The application in few word require to upload images from the user computer similar to the file uploaded FaceBook, (the Java version).

Is there a way to grant permission from the user OR a trick that I might not know to be able to upload files?

Thank you *I do not want to use the Open File Dialog.

+1  A: 

If you don't want to use the open file dialog, then I would say that there are no way, if there were, it would be a bug - a security hole in the sandbox.

HackerBaloo
I am searching a secure way to do it. I do not care to prompt a user notification or to sign a certificat or what ever it requires. Java do it and I think Flash do it with the latest version... why not Silverlight ;)
Daok
There is no way to do it, indeed. This has just not been a very high priority. Very few applications need this functionality and Microsoft has more pressing needs. If you have a relevant business case, feel free to get in touch with them and describe your problem. They certainly listen to feedback, although I imagine it'll be too late to get anything into SL3.
Sander
Flash cannot do it. AIR can, but it requires that the user installs the application first (which requires elevation on Vista/7).
Richard Szalay
A: 

Its terrible - i want to pass the local file paths from javascript to silverlight.. when when i use fileinfo object and its talking about security....

Terrible