• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Structure?  RSS feed

 
Zylias Kestravale
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello! I'm writing a program that requires reading/writing a File manually(irregardless of its File type). Apparently when I tried to clone a file by reading only the byte values and writing the exact values into the destination file, it doesn't work correctly for some file types like video/image/audio files. So I'm curious about what other information about the source file is needed make a clone and how do I access those information and write them into the destination file?(suppose it should be applicable for all types of files)



Thanks in advance,
Zylias
[ August 21, 2005: Message edited by: Zylias Kestravale ]
 
Stuart Gray
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Byte by byte should work if you use the correct streams or readers. Can you post the code that is causing problems please?
[ August 22, 2005: Message edited by: Stuart Gray ]
 
Zylias Kestravale
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Stuart Gray:
Byte by byte should work if you use the correct streams or readers. Can you post the code that is causing problems please?

[ August 22, 2005: Message edited by: Stuart Gray ]


Thanks for the reply, I think I see the problem with my code and it works now~
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!