Resume the File transfer using sockets
-
HI, I have build a Client/Server application that transfer a file using Sockets (CSocket class). Some times with the disconnection of network connection, ful file transfer is not being done. I want to transfer the file next time form the same position where it was stoped. any idea / link thant how it can be done. thanks Regards.
-
HI, I have build a Client/Server application that transfer a file using Sockets (CSocket class). Some times with the disconnection of network connection, ful file transfer is not being done. I want to transfer the file next time form the same position where it was stoped. any idea / link thant how it can be done. thanks Regards.
-
-
thanks But its using FTP command, I have build my own server and client that is not using FTP protocol. Could you please help me in that direction (not FTP involvment) - thanks Regards.
zahid_ash wrote:
But its using FTP command, I have build my own server and client that is not using FTP protocol. Could you please help me in that direction (not FTP involvment) - thanks
You have to send back acknowledge from client....make a log of acknowledgement's sent by the client ...and vice versa...and when crash occurs just read the log and do appropriate. Knock out 't' from can't, You can if you think you can :cool: