下载问题 [英] Problem in downloading

查看:77
本文介绍了下载问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,


我有一个servlet编码,我可以从FTP下载文件夹。

该文件夹已压缩并存储在FTP服务器中。

当客户端下载zip文件时,它应该解压缩并存储在客户端机器中。

这是代码..


展开 | 选择 | Wrap | 行号

解决方案


朋友们,


我有一个servlet编码,我可以从FTP下载文件夹。

der被压缩并存储在FTP服务器中。

当客户端下载zip文件时,它应该被解压缩并存储在客户端机器中。

这是代码。 。


展开 | 选择 | Wrap | 行号



线?



在第20行

即,ZipFile zip = new ZipFile(" ftp:// username:pswd@xxx.xx。 xxx.xx / location");



朋友们,


我有一个servlet编码,我可以从FTP下载文件夹。

该文件夹已压缩并存储在FTP服务器中。

当客户端下载zip文件时,它应该解压缩并且存储在客户端机器中。

这是代码..

展开 | 选择 | 换行 | 行号

Hi friends,

I have a servlet coding where i can download a folder from FTP.
The folder is zipped and stored in the FTP server.
While the client downloads the zip file the it should be unzipped and stored in the client machine.
Here is the code..


Expand|Select|Wrap|Line Numbers

解决方案

Hi friends,

I have a servlet coding where i can download a folder from FTP.
The folder is zipped and stored in the FTP server.
While the client downloads the zip file the it should be unzipped and stored in the client machine.
Here is the code..


Expand|Select|Wrap|Line Numbers


At which line?


At line num 20
i.e., ZipFile zip=new ZipFile("ftp://username:pswd@xxx.xx.xxx.xx/location");


Hi friends,

I have a servlet coding where i can download a folder from FTP.
The folder is zipped and stored in the FTP server.
While the client downloads the zip file the it should be unzipped and stored in the client machine.
Here is the code..


Expand|Select|Wrap|Line Numbers


这篇关于下载问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆