• Post Reply Bookmark Topic Watch Topic
  • New Topic

copy a file into folder  RSS feed

 
chaitanya krishna
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
could u pls tell me the code how to copy a file into folder using Java.

regards
krishna
 
Jimmy Die
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


It is a matter of reading the bits in a buffer and writing to another file. Of course that is kind of answer that is not very usefull.

Below is link to java tutorial on this.

Hope it helps.

Cheers

http://java.sun.com/docs/books/tutorial/essential/io/filestreams.html

[ January 12, 2005: Message edited by: Jimmy Die ]
[ January 12, 2005: Message edited by: Jimmy Die ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!