Skip to Content
0
Apr 18, 2007 at 06:17 PM

Download a file without opening new window

195 Views

Hi everybody,

I need to save a file to local PC into a certain predefined file in such a way that user does not get any pop-ups or new windows - i.e. 'in background'.

I have tried 'FileDownload' - this get file content displayed in new window and if saved is to be allowed - a save pop-up is displayed.

If I try attach_file_to_response of cl_wd_runtime_services - it also gives a pop-up.

Does anybody know a way to download a file to local PC in such a way that the content of the file is not displayed in the new pop-up window and save dialog does not appear?

Thank you for your help.

Helen