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

Upload File

Rohit Poddar
Ranch Hand

Joined: Aug 18, 2001
Posts: 36
Does anyone know if there is anything in Struts to facilitate upload of files?
Thanks,
Rohit


SCJP, SCWCD
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
In Struts? Don't think so. Do you just want to FTP a file?
A homegrown FTP client:
http://www.coderanch.com/t/274716/Streams/java/FTP-Client
Some third party code:
http://www.coderanch.com/t/369505/java/java/Third-party-FTP-Client


"JavaRanch, where the deer and the Certified play" - David O'Meara
Rohit Poddar
Ranch Hand

Joined: Aug 18, 2001
Posts: 36
Cindy,
On our website we want our users to be able to upload files to our servers. Any help will be appreciated.
Thanks,
Rohit
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
FTP stands for File Transfer Protocol. It is used for uploading files. Read the references that I gave you, then let us know if you need something different.
Juanjo Bazan
Ranch Hand

Joined: Feb 04, 2002
Posts: 231
Struts includes the org.apache.struts.upload package.
You can check this package too: http://jakarta.apache.org/commons/fileupload/index.html
HTH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Upload File