Reading/Writing Bytes

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2009
Posts: 3,432
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 620
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Reading/Writing Bytes

 
0
  #11
Jul 25th, 2009
Originally Posted by FTProtocol View Post
Same for you, stop spamming my topics.
I already gave you another approach for going about this topic and you ignored it. You may have tried it but did not post feedback. FYI this is considered "bumping" a thread at worst but hardly spamming. Drop the attitude and you may find people more willing to help. Just a thought.

Yes this is likely an encoding issue. Don't bring it back to a managed byte array without specifying the source encoding or better yet just stream one file to the other.
Attached Thumbnails
spam.jpg  
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 99
Reputation: FTProtocol has a little shameless behaviour in the past 
Solved Threads: 1
FTProtocol FTProtocol is offline Offline
Junior Poster in Training

Re: Reading/Writing Bytes

 
0
  #12
Jul 25th, 2009
Originally Posted by sknake View Post
I already gave you another approach for going about this topic and you ignored it. You may have tried it but did not post feedback. FYI this is considered "bumping" a thread at worst but hardly spamming. Drop the attitude and you may find people more willing to help. Just a thought.

Yes this is likely an encoding issue. Don't bring it back to a managed byte array without specifying the source encoding or better yet just stream one file to the other.
your sarcasm and your friends spam is what annoyed me, but yes i have tried every encoding known to man and i still cannot write a fully working file.

I do not understand why.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,432
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 620
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Reading/Writing Bytes

 
0
  #13
Jul 25th, 2009
Maybe that is the problem, it is binary data after all. Perhaps you should just leave it. Quit changing binary data to an ASCII encoded string and leave it as a byte array.
Last edited by sknake; Jul 25th, 2009 at 8:01 pm.
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 99
Reputation: FTProtocol has a little shameless behaviour in the past 
Solved Threads: 1
FTProtocol FTProtocol is offline Offline
Junior Poster in Training

Re: Reading/Writing Bytes

 
0
  #14
Jul 25th, 2009
Originally Posted by sknake View Post
Maybe that is the problem, it is binary data after all. Perhaps you should just leave it. Quit changing binary data to an ASCII encoded string and leave it as a byte array.
I tried something like this.

Original
Split1
byteArray
Split2

But it never worked.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,432
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 620
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Reading/Writing Bytes

 
0
  #15
Jul 26th, 2009
Upload your project
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 703 | Replies: 14
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC