Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need sample code for upload files

 
ravi kumar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I want to develop java code to upload files(not through FTP) and I dont want to use third party tool.Any body can please tell me how can I do that?Please send me sample codes if any.
THANKS IN ADVANCE

-Ravi Kumar.
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you propose to do? Are you creating a custom server and protocol? Using HTTP? Are you ruling out FTP and third parties simply because you have had some problems here and here? If that's the case, reconsider. There's no sense in reinventing the wheel.
 
ravi kumar
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THANKS for your reply and
I am sorry.I want a sample java code to move the files from one place to another place in one computer.Please help me in this regard.
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want to copy a file from one location to another on the same machine?
look here
 
Yup, yup, yup. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!