cancel
Showing results for 
Search instead for 
Did you mean: 

How to download big file from server to client machine

Former Member
0 Kudos

Hello,

I want to download big file from server to the client computer.

I put one file with size 200 MB for example on the server and want to download it on my machine.

I use this code:

String path = "C:
Temp
eclipse.zip";

try{

InputStream is = new FileInputStream(path);

IWDResource resource = WDResourceFactory.createResource(is, "eclipse1.zip",new ZipResourceType(), true);

resource.download();

}

catch(FileNotFoundException ex){

wdComponentAPI.getMessageManager().reportException(ex.getMessage());

}

But process is very slow.

I wait Webdynpro some minutes and then save window appears.

What happens?

Is there another way to copy this file without copy it to the memory?

I want to download file with big size.

thanks for your help,

Dimitar Velinov

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Why not give a try by hosting this type of big files to an FTP server and use the linkto URL from webdynpro.

Regards

Ayyapparaj