This question is locked. New answers and comments are not allowed.
Hello Telerik team,
I just came along a problem, which I didn't thought it would get that big.
I have written a web service to up/download files, because they are dynamically retrieved from a database/object-based system of ours. The files can be retrieved junkwise (a transaction-based web service method) or as byte[] in one piece.
Usually I invoke the web service method to get the byte[] and then I have the byte[]/stream on the client, but no possibility to say: "Take the stream to the user, which may save it in his file system with a save dialog". I always have to define an url/uri which points to the file. No byte[] or streams are allowed.
Now my feature request:
I don't see the point in storing the file on some public place (for the sake of security ) and then setting a link to the file which is then downloaded (linked button or something like that). After the download is finished this temporary file also has to be deleted (another user may download it because it is in a place where all silverlight clients may have access).
What about a "save dialog" control (like the upload control you already have in the silverlight controls) which let you choose the place to save the file? The source of the save dialog could be an url-based file, a stream or a web service which delivers a byte[].
Greetings,
Stefan
I just came along a problem, which I didn't thought it would get that big.
I have written a web service to up/download files, because they are dynamically retrieved from a database/object-based system of ours. The files can be retrieved junkwise (a transaction-based web service method) or as byte[] in one piece.
Usually I invoke the web service method to get the byte[] and then I have the byte[]/stream on the client, but no possibility to say: "Take the stream to the user, which may save it in his file system with a save dialog". I always have to define an url/uri which points to the file. No byte[] or streams are allowed.
Now my feature request:
I don't see the point in storing the file on some public place (for the sake of security ) and then setting a link to the file which is then downloaded (linked button or something like that). After the download is finished this temporary file also has to be deleted (another user may download it because it is in a place where all silverlight clients may have access).
What about a "save dialog" control (like the upload control you already have in the silverlight controls) which let you choose the place to save the file? The source of the save dialog could be an url-based file, a stream or a web service which delivers a byte[].
Greetings,
Stefan