Author Topic: Writing binary data from file to network connection  (Read 1243 times)

Is this possible?
If so, how?

I believe it'd literally be the same exact meathod as text for all intents and purposes.
But the value 0 can't be written.
Also, I made a binary data libary, maybe I still have it.

It's possible, IF you have a converter.
I did make a compression library that compresses 2 numbers into 1 symbol, which is sort of like what you're asking for.

But writing custom bits is not possible, You'd need to use another programming language like C# or C++.

It's possible, IF you have a converter.
I did make a compression library that compresses 2 numbers into 1 symbol, which is sort of like what you're asking for.

But writing custom bits is not possible, You'd need to use another programming language like C# or C++.
So it isn't possible to, for example, upload images to a website?

So it isn't possible to, for example, upload images to a website?
The only way I can think of doing that is by uploading a link to the picture you want to upload, and then have the server download it from the URL.

The only way I can think of doing that is by uploading a link to the picture you want to upload, and then have the server download it from the URL.
The problem is that the pic is local on the computer of the user.

Ipquarx, didn't I say to stop posting in coding help?

You literally have no clue what you're talking about.

The only way I can think of doing that is by uploading a link to the picture you want to upload, and then have the server download it from the URL.
So how will the link be created? Hmmm....?

Ipquarx, didn't I say to stop posting in coding help?
And I'm the butt-hurt one?

So how will the link be created? Hmmm....?
Can kalphiter come up with a better idea? Hmmm....?

There's probably a way to remotely upload image files to a image uploading site, there might be a API out there somewhere, who knows.

But why do you need to write BINARY data? Is that absolutely nessesary? There are much easier ways of sending data. If this is just about uploading pictures, then thats different, but otherwise, you can just send normal text, even a string of 1's and 0's if you want.
« Last Edit: November 27, 2011, 12:20:58 PM by Ipquarx »

There's probably a way to remotely upload image files to a image uploading site, there might be a API out there somewhere, who knows.
Nulls cannot be stored in a string and any non-text file most likely has a few.
echo(strlen("\x5D\x00"));
But the value 0 can't be written.
« Last Edit: November 27, 2011, 12:29:09 PM by Kalphiter »

Yes, it's a matter of pictures.

But why do you need to write BINARY data? Is that absolutely nessesary? There are much easier ways of sending data. If this is just about uploading pictures, then thats different, but otherwise, you can just send normal text, even a string of 1's and 0's if you want.
The problem is you don't know what binary data is.

The problem is you don't know what binary data is.
I do know what binary is.

URL's are my best guess, because as far as I know you can't work with pictures directly.
If YOU can come up with something better then you go ahead and make yourself usefull instead of trying to insult the way I think.

I do know what binary is.

URL's are my best guess, because as far as I know you can't work with pictures directly.
If YOU can come up with something better then you go ahead and make yourself usefull instead of trying to insult the way I think.
Do explain how we move this image to an external location using only Blockland.

Do explain how we move this image to an external location using only blockland.
You're the one whose great with networking in blockland, i'm sure if anyone could figure it out, you could.

You're the one whose great with networking in blockland, i'm sure if anyone could figure it out, you could.
I'm fairly certain the answer is "you cannot", but my knowledge in that field is limited to the basic workings of HTTPObjects.

Only with Blockland, that is. With some other code outside of Blockland, yeah, probably possible.