Ha!
I think I got it.
I was encoding the file as ANSI, but the stream as ASCII.

Both ANSI and ANSI works for bin files.




On Thu, May 14, 2009 at 12:23 AM, Adrian Aisemberg <
[email protected]> wrote:

> I have rewritten the python uploader in C#.
> Trying to send a text file works 100%.
> I'm having problems sending binary files.
>
> I'm debugging the python script and I see that the file is being read to a
> string variable.
> My question is:
> What encoding is being used when converting from a binary byte-array to a
> string?
>
> I have tried UTF8 and ASCII encoding to get the file's content as a string,
> the file is being uploaded, but when I download it - it's corrupted.
>
> Where can I see the specifications of the uploading API?
>
> Regards,
> Adrian Aisemberg
>
>
>
> --
> Adrian Aisemberg
> www.sharpregion.com
> www.svnmonitor.com
>
>


-- 
Adrian Aisemberg
www.sharpregion.com
www.svnmonitor.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Hosting at Google Code" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-code-hosting?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to