Welcome Guest. Sign in or Signup

1 Answers

Ensuring file is not Corrupt

Asked by: 3205 views File Layout

In many cases interface files are transferred using FTP. Your App Engine can start processing a file while it is still being transferred. In such a case, the data that you read through the File Layout may not be complete. What logic would you implement to ensure that the file has not lost any lines of data at the time of processing?

 

Related Questions

1 Answers



  1. candidate on Oct 31, 2011 Reply

    A simple mechanism would be to use a header inside the file. This line would contain the number of rows in the file, and the some such checks. When the file is being processed, you need to ensure that the data in the file matches the information in the header.

    +1 Votes Thumb up 0 Votes Thumb down 0 Votes


Answer Question