Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how upload all files in a local folder to server

 
zhong jin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can i upload all files in a folder after choose a directory for uploading files to server.
Thanks and Regards!
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by zhong jin:
Can i upload all files in a folder after choose a directory for uploading files to server.
Thanks and Regards!

Not using standard HTML. You could write a signed Applet that does these things if you really wanted to.
 
zhong jin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first thank you for the reply.
now,i can not yet upload a folder with Applet as you said.
Could you give me some example for this?
thank you very much.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The functionality that you are trying to achieve is possible using Applets. However, this is functionality that you are going to have to write because there is no stock component in J2SE that does this. Furthermore, since you need access to the client's local drive, you will need to sign your applet. To get started I suggest you take a look at JFileChooser and the Java I/O libraries.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic