Page 1 of 1

Large File Transfer

Posted: Wed Nov 03, 2010 1:08 am
by ecflyer
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

Re: Large File Transfer

Posted: Wed Nov 03, 2010 10:02 am
by Mark
Hi ec,

You have given the answer already:
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.
You do need to break them into smaller chunks and send the chunks in a repeat loop with messages.

Best,

Mark

Re: Large File Transfer

Posted: Wed Nov 03, 2010 10:57 pm
by ecflyer
Thanks Mark,

That's how I run it now. I was just hoping for a better way to do it in the background.

Eric