Skip to Content
avatar image
Former Member

file download functionality

Hi,

I have requirement of file download in WDJ

I am following the thread for it [link|how-to-download-a-file-from-path-specifed]

but i have dbts that

1. how to place a file permanantly at any location on the server eg. at path C://temp/Sap.pdf

2. what is meaning of getter method ? where do i find it ?

kindly help

thanks

B

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 11, 2010 at 08:51 AM

    Hi

    Please search your query in sdn , thse are common questions , and answered many times .

    About getter and setter again its a very basics of java . please do some googlling .

    Best Regards

    Satish Kumar

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Siarhei,

      I did the steps. put the file in mime folder, got the url of it, and put the url in lnktourl ui element

      when I click on linktourl , I get message "The requested resource does not exist."

      Do you know what method I can use to get the path (instead of url) of the file that I have put in the mime ?

      once I get the path now I know how to download the file using byte array

      Hence kindly let me know how can I get the path of the file ?

      thanks a lot

      B

  • Aug 02, 2010 at 06:37 AM

    placed the files in file system of the portal sever using winsap. and gave this path in the code

    Add comment
    10|10000 characters needed characters exceeded