File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes File Upload !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "File Upload !!" Watch "File Upload !!" New topic

File Upload !!

Rajeev Iyer
Ranch Hand

Joined: Jun 19, 2002
Posts: 42
I am trying to upload a file using FTP file upload technique in JAVA(FTPClient).
The code works when I pass the filename through a text field, but when I use a file type(to select a file from the system) the file does not get uploaded properly.
What could be the problem?
Pls help..
It is sorta covered in the JavaRanch Style Guide.
subject: File Upload !!