2006 Sep 01 9:12 AM
Hi,
I'm getting two files with creation date and creation time. I've to upload this file somewhere.
But problem is " sometimes i'm getting the latest file before the older one" and older is getting updated as latest one due to time Insynchronization. Also i dont want to do the time stamps and do the validation for individual files as there are a number of files and performance will hamper.
possible solution expected
Regards,
Jyoti shankar
2006 Sep 01 10:18 AM
Hello Jyoti
From your description I assume that the two files contain the same data and, probably, have the same name (but with different creation date/time).
When you receive the files why not add the time stamp (date & time) to the file name? When you start uploading simply read all file names and sort them by filename (oldest files will be on top).
Regards
Uwe
Hi,
I'm getting two files with creation date and creation time. I've to upload this file somewhere.
But problem is " sometimes i'm getting the latest file before the older one" and older is getting updated as latest one due to time Insynchronization. Also i dont want to do the time stamps and do the validation for individual files as there are a number of files and performance will hamper.
possible solution expected
Regards,
Jyoti shankar
2006 Sep 01 10:18 AM
Hello Jyoti
From your description I assume that the two files contain the same data and, probably, have the same name (but with different creation date/time).
When you receive the files why not add the time stamp (date & time) to the file name? When you start uploading simply read all file names and sort them by filename (oldest files will be on top).
Regards
Uwe
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |