DiskFileSystemSynchronization and date

0
I use 'DiskFileSystemSynchronization' and it's work perfect. I have uncheck 'Compare File Data' I open up the file and add a line in the textfil and save it. then I get a new modify date. but I want 'DiskFileSystemSynchronization' still mark the file as same date. Then I try this: 1. changeDate = File.GetLastWriteTime("c:\test.txt") 2. open file 3. add line 4. save file 5. File.SetLastWriteTime("c:\test.txt", changeDate) then date and time are the same as before I open and save the file. but 'DiskFileSystemSynchronization' still think it's have a newer change date.
edited 6/7/2018 10:47:26 AM
asked 6/7/2018 10:44:27 AM
add a comment

4 Answers

0
Can I send 2 files and you check why it's mark the file more recent?
 
answered 6/26/2018 6:42:03 AM
  Yes, please send to support@componentpro.com sysadmin 6/27/2018 10:19:55 AM
add a comment
0
You have any update about this?
 
answered 6/19/2018 1:35:23 PM
add a comment
0
Yes I have look that and that is part of the code. the sync are working perfect. but the problem are with step 1 to 5 the file date are the same as before I do step 1-5. but When I run the sync it's anyway report the file as newer.
 
answered 6/15/2018 7:30:49 AM
add a comment
0
Have you had a chance to take a look at our answer in this post: [https://www.componentpro.com/qa/ftpsftpsynchronization][1]? We have added restore date time to the example. If you were synchronizing a local folder with a remote folder, you should consider the time difference between the local PC time and the remote server time. [1]: https://www.componentpro.com/qa/ftpsftpsynchronization
 
answered 6/11/2018 2:39:55 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged sftp or ask your own question.