Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Upload File

 
Rohit Poddar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know if there is anything in Struts to facilitate upload of files?
Thanks,
Rohit
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rohit Poddar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts includes the org.apache.struts.upload package.
You can check this package too: http://jakarta.apache.org/commons/fileupload/index.html
HTH
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic