PDA

View Full Version : Sync'ing to Mac


richardl
27-Feb-2005, 03:21 PM
Guys .. I'm syncing from Windows (BC 2.2.7) to Mac OS 10.3.8 via the Mac's FTP server. The problem is that it's not setting the source file date. So after the sync, the Mac file's have a newer date .. Which I them have to sync back to Windows to get the file dates in sync .. Any way to fix this?

Thanks

Chris
28-Feb-2005, 11:53 AM
This is probably due to the FTP server. I'm not sure which FTP server OSX ships with, but many FTP servers don't support setting timestamps. You can verify this by trying to use the Actions|Touch command on the server.

As a workaround, select Session|Comparison Control, go to the Advanced tab, and check "Touch local files when copying to an FTP site".

richardl
28-Feb-2005, 05:54 PM
Chris .. Thanks .. It says 'Operation not Supported' .. What command does BC use to set the time .. is it 'touch'? Also, your suggestion to "Touch local files when copying to an FTP site" .. Is that a global setting or just for the session? This is one server out of many, I don't want to change all just for the one.

Thanks

Chris
01-Mar-2005, 09:28 AM
BC uses the touch command to set the time. BC automatically tries to use the touch command when you copy a file.

All of the settings under Session|Comparison Control, including "Touch local files when copying to an FTP site" setting are saved just for the individual session.

Craig
02-Mar-2005, 04:44 PM
Richard,

The specific command BC uses to set remote timestamps is "MDTM". Off the top of my head I don't know of any non-Windows servers that support it in the way we're using it. The only alternative I know of, assuming you're able to, is to set up the Mac to export the files as an SMB share (ie, "Windows file sharing"). That should allow BC to set the timestamps on the remote files.

I haven't tested it, but it might also allow you to keep any extra data forks on the Mac files.

03-Mar-2005, 10:14 AM
Thanks for the suggestion .. I'll give it a try