Subject: IFileInfo.LastWriteTime
Date: 2012-06-20 11:54:38
From: Anton Kurdyukov
Source: ifileinfo-lastwritetime
----------------------------------------------------------------------
Hello,
I'm synchronizing a local directory with the remote folder on a ftp server. However, after sync the LastWriteTime timestamps on all files are not those of local files, but rather the time at which the file was uploaded. This only occurs when there was already a file with such name on the server and it was overwritten, sync with an empty folder keeps the timestamps intact.
Is it possible to set custom last write timestamps to files during sync process in some sort of handler? I'm using a custom FileComparer, but I'm not sure if the Ftp component is capable of invoking one operation in the handler of another one.
----------------------------------------------------------------------
Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.
Back to ComponentPro Q&A Forum Index