raephel 0 Newbie Poster

Hi,


I have a project deployed on Linux machine on JBoss server and I'm executing that projet from Windows through Internet Explorer. Further more, I'm using this jsp code:

<form name="upld" method="post" action="UpldFile" enctype="multipart/form-data" >
<input type="file" name="file">
<input type="submit" value="Submit">
</form>

to have a file chooser dialog which I can use to select file from windows file system.
Now next I need to upload this file at remote Linux server through FTP. But I getting exception as FileNotFoundException as my code is searching that file at Linux machine where it is deployed, obviously where it doesn't found that file. So my prblm is that how can I upload a file in Windows using FTP through my application, deployed at local Linux machine, to a remote Linux machine.


Please help me out.

Thanks in advance.