Hi,
I am a beginner in website development in java.
I wish to develop a website that allow users to download zip files from the web.
The zip files are stored in another FTP server (with login and password)
different from the web server.
I only know that one of the way is to add the link below in the webpage:
<A HREF="ftp://ftp.site.com/dirname/file.zip">
We can also insert login and password to this link. But there is
security issue with this solution. When user click this link,
a dialog box is displayed to prompt user whether he want to download
this file. However, on the browser status bar, it shows the the full
path of the zip file with its login and password.
Is there any other solutions to solve this problem?
It would also be good if anyone could provide some sample source codes
to solve this problem.
Thanks in advance.
I am a beginner in website development in java.
I wish to develop a website that allow users to download zip files from the web.
The zip files are stored in another FTP server (with login and password)
different from the web server.
I only know that one of the way is to add the link below in the webpage:
<A HREF="ftp://ftp.site.com/dirname/file.zip">
We can also insert login and password to this link. But there is
security issue with this solution. When user click this link,
a dialog box is displayed to prompt user whether he want to download
this file. However, on the browser status bar, it shows the the full
path of the zip file with its login and password.
Is there any other solutions to solve this problem?
It would also be good if anyone could provide some sample source codes
to solve this problem.
Thanks in advance.