To upload files to ftp server using JSP

I want to upload a file to my ftp server using web browser. in my website i want to write a application by which i have upload a html file in my local machine to a specif folder of my ftp server.

Can anyone send me complete code: Just think that

1) my ftp server ip : 10.10.10.10

2) user id : adas

3) password: dipya

4) the file i want to upload is in path d:/new/

5) file name: send.html

6) ftp server path where the file will be copied : wwwroot/adas/

With all this info can anyone write me a code ?

Thanks in advance

Dipyaman

[596 byte] By [Dipyaa] at [2007-11-26 15:17:50]
# 1
Use the Apache Commons UploadFile package.
tolmanka at 2007-7-8 10:59:37 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
To upload files to ftp server using JSP
ve34a at 2007-7-8 10:59:37 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
You should use Stream,write on server side input stream and on client side output stream.This means send from client to server (upload)
RezaRavasizadeha at 2007-7-8 10:59:37 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...