dev
05-16-2003, 12:29 PM
hello all,
how can we provide reliable file transfer?, i mean solutions to problems that can happen on a long file transfer, say server goes down, or client goes down, what i really want is to have a file transfer , where by if the file is transfered , it should be complete else nothing should be there with reciver, above all the client should not be able to say that he didnot recive the file,if the transfer was sucessfully completed.
i want a system where by after the file is fully transferd to the client, the client application should acknowladge(the application,i mean). but the problems will arise, if for example:-
- the file is fully transfered to client, now he has to send the acknowladegment, but the power goes at client side, now that he has the file , but has not acknowladged. what can be solution to these type of situations?
if i keep logs , still the problem will be there, like what happens if at time of writing of log ,power goes. i think all these are the problems related to syncronisation and related to transation processing, like that of a database system, though we have been taught bout these probs in classes , but no solution was discussed.
so what do u guys suggest?
with thanks
-dev
how can we provide reliable file transfer?, i mean solutions to problems that can happen on a long file transfer, say server goes down, or client goes down, what i really want is to have a file transfer , where by if the file is transfered , it should be complete else nothing should be there with reciver, above all the client should not be able to say that he didnot recive the file,if the transfer was sucessfully completed.
i want a system where by after the file is fully transferd to the client, the client application should acknowladge(the application,i mean). but the problems will arise, if for example:-
- the file is fully transfered to client, now he has to send the acknowladegment, but the power goes at client side, now that he has the file , but has not acknowladged. what can be solution to these type of situations?
if i keep logs , still the problem will be there, like what happens if at time of writing of log ,power goes. i think all these are the problems related to syncronisation and related to transation processing, like that of a database system, though we have been taught bout these probs in classes , but no solution was discussed.
so what do u guys suggest?
with thanks
-dev