Skip to Content

Download File from URL - Link to URL or file download?

Hi Experts,

I want to provide a UI for downloading a file.

The file is stored at a file server and i have a URL of this file.

now which UI element should i choose to show the file to the user?

File download or Link to url?

and also an example with code of these UI elements will help.

Thanks in advance.

Ashish Shah

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jun 29, 2009 at 03:38 AM

    hi ashish

    both are fine, you have to read the file content convert it to xstring and supply to file download ui element

    or use cl_wd_runtime_services=>attach_file_to_response on click the of the link to action.

    Abhi

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 29, 2009 at 06:21 AM

    hi

    file-download

    Regards

    Sajid

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 06, 2009 at 09:07 AM

    Hi Guys,

    I used link to URL UI Element.

    This solved my purpose of opening the external URL on click of the element.

    Ashish Shah

    Add comment
    10|10000 characters needed characters exceeded