• Post Reply Bookmark Topic Watch Topic
  • New Topic

need sample code for upload files  RSS feed

 
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: 9426
12
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: 9426
12
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!