Hi all,
I need to transfer files from one program on one computer to another program on another computer. I have succeeded in doing this with sockets, but it's inconsistent and slow with large media files. I need the transferring to be non-blocking. The rest of the functions between the two programs also use sockets and it seems that a transfer can easily be interrupted and stopped.
I do not know how to use the shell command and could not find enough information to help me figure it out; not sure if shell is the best way.
A thought was to create separate programs to transfer the files, but I still do not know how to move large files through sockets without breaking them into smaller byte chunks.
So I guess the question is how do I make rev use the file share function? (Something like the way FTP downloads data from a website)
Thanks,
E
Large File Transfer
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Large File Transfer
Hi ec,
You have given the answer already:
Best,
Mark
You have given the answer already:
You do need to break them into smaller chunks and send the chunks in a repeat loop with messages.A thought was to create separate programs to transfer the files, but I still do not know how to move large files through sockets without breaking them into smaller byte chunks.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Large File Transfer
Thanks Mark,
That's how I run it now. I was just hoping for a better way to do it in the background.
Eric
That's how I run it now. I was just hoping for a better way to do it in the background.
Eric