摘要 |
A system, method and program product for recovering records transferred by a file transfer program from a file transfer client to a file transfer server for storing in an I/O device by the server, wherein the file comprises multiple records in one or more blocks. A file is transferred from the file transfer client to the file transfer server a record at a time, with each record being stored in turn in memory in the server. Each record is then converted by a conversion routine. Recovery information, including the location of the first record in the block in the I/O device, is saved for each record converted by said conversion routine, and the recovery information for each record is sent to the file transfer client to be used to recover the records in the event the file transfer program is stopped. When a full block of records has been received by the file transfer server, and each record has been converted by said conversion routine, the full block is stored, a record at a time, in the I/O device by an I/O routine. In the event that the file transfer program stops, the recovery information is sent from the file transfer client to the file transfer server, and the records of the block stored in the server memory are recovered in accordance with the recovery information received by the file transfer server.
|