on 06-19-2008 4:29 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.