• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Upload

 
Vrinda
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am writing a Java application that basically uploads a file from a local machine to a server. Can someone tell me how this can be done.
Regards
Vrinda
 
Tom P
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sockets or servlets.
 
paul wheaton
Trailboss
Pie
Posts: 21388
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open an HTTP connection from an applet to a servlet. The open an object stream and the file as one object.
 
Rama Raju
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could u please tell me whether u r using HTML or applets From the local machine? U can really get good help from Orielly's book on Servlets
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic