Large file transfer
Posted: Wed Sep 15, 2010 6:56 am
Howdy,
I have a program that needs to request files for transfer from another parent program on the same network. I can transfer the needed files through sockets, but in doing so, the highly dependent user input commands of the program are interrupted; or, on certain user inputs, the transfer of the file data stops. I have the code to transfer small portions of the file at a time and then "wait with messages" before getting the next chunk so user inputs are received, but this is not efficient for the amount of files or file sizes. I'm trying to figure out a way to transfer the files in the background without interrupting the user. My thought was to create another hidden program to handle the transfer and saving.
Any ideas on transferring a file from one program on one computer to another program on another computer within the same network while still being able to run user input handlers?
Thx,
E
I have a program that needs to request files for transfer from another parent program on the same network. I can transfer the needed files through sockets, but in doing so, the highly dependent user input commands of the program are interrupted; or, on certain user inputs, the transfer of the file data stops. I have the code to transfer small portions of the file at a time and then "wait with messages" before getting the next chunk so user inputs are received, but this is not efficient for the amount of files or file sizes. I'm trying to figure out a way to transfer the files in the background without interrupting the user. My thought was to create another hidden program to handle the transfer and saving.
Any ideas on transferring a file from one program on one computer to another program on another computer within the same network while still being able to run user input handlers?
Thx,
E