File download using core java

Asked By 10 points N/A Posted on -
qa-featured

Hi,

I am trying to download the files from a site using java .net package, but it is not working.
 
I know there are several methods for grabbing and reading online files line-by-line, but is there any  way of file download using core java, if any way exists,
 
Please suggest me. 
SHARE
Answered By 5 points N/A #143106

File download using core java

qa-featured

Hi,

It is need to upload a file to an FTP server, to generate some data in .xls files, and it also needed to upload to FTP server for further use. Here is the URL:

Where you can get theFile Upload and Download Code Example. Upload a file to the FTP server and downloading the file from the FTP server are two classes of the file.

With the use of BufferedOutputStream and BufferedInputStream IO classes it is easy and easy to upload/download files using Java.

Related Questions