I am trying to download file from ftp server using one of Apache library (org.apache.commons ).it is downloading but the rate of download is very low.for 100 MB file it takes almost 40 minutes to download from ftp server.
following code i am using please look into this and suggest me if there any work round to download file from ftp in easy way.
Is the download significantly faster when using a different FTP client? It might just be a slow download due to lack of bandwidth (most FTP servers support throttling).
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Try this: connect to that FTP server using an FTP client such as FileZilla, and see how long it takes to download that file. (Make sure you do that from the same computer where you're running that Java code.) Then at least you'll know whether you have a problem to solve or not.
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
Free, earth friendly heat - from the CodeRanch trailboss