Hi Nick, I don't think you will be able to save anything programatically to
the client machine from the browser. 

I know of only two options or workarounds. Either you have to instruct the
user to save the whole document from the file menu, or you can use a Flash
swf or Java applet/program. At least you would have some possibility to save
to the client's hard disk.

The reason this is so restricted is that it is considered - rightfully - a
BIG security risk.


Kjell Arne










-----Original Message-----
From: Nick Goupinets [mailto:[EMAIL PROTECTED] 
Sent: 20. februar 2005 15:49
To: [email protected]
Subject: Save pipeline results on client

Hi everybody,

Thank you for reading this post. I need some help with storing pipeline
results on the client side. The ultimate goal is to have somewhere a button,
which, when clicked, will provide a "Save as" dialog box, so that the user
will be able to save the produced XML to his or her file system.

When I was trying to implement that, I could not come up with anything
better, than having a JavaScript enabled button, that will open a new
browser window. Window's location will point to a pipeline which ends with
an XML serializer with some non-default mime type (or I guess, I can make a
reader for this purpose). As the result, the browser will not try to render
the content, but rather offer a dialog box that prompts user to either
select a suitable application to work with the file with or to save it to
disk.

Are there any more elegant solutions? Thank you very much for your time.

Sincerely,
Nick Goupinets.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to