cancel
Showing results for 
Search instead for 
Did you mean: 

Download file with CL_BSP_UTILITY=>DOWNLOAD

Former Member
0 Kudos

Hi everybody,

I want to download a file on my computer (c:\) from a BSP application.

I'm using the method download from the class CL_BSP_UTILITY. But I don't want the save dialog.

I wan't to set the path and an automatic download.

How is it possible ? I don't find any options in the method.

Morever, I tried to call a function module with GUI_DOWNLOAD call but it returns an exception.

Thank you very much.

Jeremy P

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Nobody solved this problem ?

PatrickDean
Participant
0 Kudos

WebBrowsers don't allow that kind of access because otherwise dodgywebsite.com could save files onto your harddrive without you knowing. It's mentioned in a few threads

http://scn.sap.com/thread/722213

http://scn.sap.com/thread/881444

It's a "problem" with any web application, not just BSP!

Oh, and GUI_DOWNLOAD won't work because it uses the GUI, which has a better relationship with the OS. GUI_anything most likely won't work in BSP, because BSP runs in a WebBrowser, not the GUI.