datetime of copied files

SyncBack freeware has been retired and replaced with SyncBackFree. These old posts are being kept for reference only. SyncBack V3 freeware is no longer supported or available for download.

datetime of copied files

Postby sergiomis » Tue Mar 09, 2004 11:36 am

Maybe I'm missing something, but why does copied file have current date/time.

Shouldn't them keep date/time of the original file ?

Bye.

P.S.: The destination directory is on a UNIX server accessed via Samba.

I'm using SmartSyncPro which preserve correct datetime, while SyncBack copies file with the current datetime.
sergiomis
Newbie
Newbie
 
Posts: 1
Joined: Tue Mar 09, 2004 11:33 am

Postby mickyj » Tue Mar 09, 2004 3:24 pm

It should have the same file date/time as the original. Are you using the beta or version 2?

But Samba has other problems, i.e. it doesn't even use the correct date & time anyway which is why SyncBack supports a date/time offset, e.g. ignore time differences of 2 seconds.
User avatar
mickyj
2BrightSparks Staff
2BrightSparks Staff
 
Posts: 7842
Joined: Mon Jan 05, 2004 6:51 pm
Location: In front of computer

Postby Guest » Tue Mar 09, 2004 4:07 pm

I Tried both, with the same results: files are created with the current date and time.
Guest
 

Postby CSU » Tue Mar 09, 2004 8:35 pm

I have the same problem with FTP. I know that there are some command to execute to set the correct date/time because I had the same problem (which is fixed now) with Total Commander (www.ghisler.com).
CSU
 

Postby mickyj » Wed Mar 10, 2004 12:04 am

FTP is different again. If the FTP server does not support the MDTM command (or it supports it in a non-standard way) then there is no way to change the date & time for a file.

But I still do not understand why on Samba your files are using the current date & time. This should not be the case. There are other users using Samba and they have no date & time problems. Unfortunately there is no way I can test as I don't have a UNIX server. If you use Windows Explorer to copy a file to a Samba share, does it use the correct date & time? Thanks
User avatar
mickyj
2BrightSparks Staff
2BrightSparks Staff
 
Posts: 7842
Joined: Mon Jan 05, 2004 6:51 pm
Location: In front of computer

Postby Guest » Wed Mar 10, 2004 10:25 am

mickyj wrote:If you use Windows Explorer to copy a file to a Samba share, does it use the correct date & time? Thanks


Good question. In effect, Windows Explorer produce odd mixed results when copying file from a local folder to a Samba folder: some files are copied with their correct datetime, where others are copied with the same wrong datetime without a consistent rule.

What is more surprising to me is how SmartSyncPro is capable of making its backup without any mistake: the files datetime is always right.

I have contacted the Samba server administrator in order to investigate on this problem.

For now, that's all.
Guest
 

Postby mickyj » Wed Mar 10, 2004 10:41 am

Anonymous wrote:Good question. In effect, Windows Explorer produce odd mixed results when copying file from a local folder to a Samba folder: some files are copied with their correct datetime, where others are copied with the same wrong datetime without a consistent rule.


SyncBack uses the same Windows API routine to copy files as the Windows Explorer (it's SHFileOperation). What I can do (or at least try to do) is add an option to force the date & time of the file to be correct (so I'll do what Windows should be doing). Thanks.
User avatar
mickyj
2BrightSparks Staff
2BrightSparks Staff
 
Posts: 7842
Joined: Mon Jan 05, 2004 6:51 pm
Location: In front of computer

Destination File Create Date does not match Source

Postby GUEST » Mon Apr 19, 2004 8:33 pm

My source file is in XP. Destination is ME. After syncing from source to destination, the Modify dates are correct, but the Create date in the destination is the "today" date, while the source create date is as before. Is there a fix for this ?

PYP
GUEST
 


Return to SyncBack V3 (freeware)

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron

User Control Panel

Login

Who is online

In total there are 6 users online :: 1 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 619 on Tue Jun 26, 2007 10:08 am

Users browsing this forum: Google [Bot] and 5 guests