file transfer over sockets
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: file transfer over sockets
This attachment show how to work with sockets, to me works also with big files.
- Attachments
-
- Sockets.zip
- (3.88 KiB) Downloaded 196 times
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: file transfer over sockets
I got as far as sending medium size files and it works just fine. Your 1meg will be no problem. What I meant earlier in the thread was if your file sizes start approaching sizes you wouldn't want to be loading fully into memory. In such a case what you can do is read out chunks and send those chunks, adding them into a file on the other side so you are avoiding the overhead of having the whole file in memory on both sides.
I am wondering if there is some way to do a http file transfer between two livecode programs. I know you can make a http server, but I have not seen any examples that take it to the level of serving non html files.
I am wondering if there is some way to do a http file transfer between two livecode programs. I know you can make a http server, but I have not seen any examples that take it to the level of serving non html files.