Mod Time Help

Core FTP Server questions and answers
Post Reply
thecapn
Posts: 3
Joined: Wed Apr 09, 2008 4:01 pm

Mod Time Help

Post by thecapn »

Hello, I am trying to use a program called GoodSync to keep our Windows 2003 production servers updated as we add new product images. This program will check the last modified time on the local server and the production server, and, if they are not the same, upload the file from the local server.

Whenever I upload files to the production server, they are assigned a timestamp of the upload time. Therefore, the program wants to upload every file every time, instead of just the new files.

I contacted GoodSync support, and they indicated the issue was on the FTP server end. I tried switching from the IIS FTP server to Core FTP server in SFTP mode, and am still having the problem.

Here is the technical support's explanation of how things work:
[quote]Does GoodSync use the MDTM command to send the modified time to the server? Or does the server need to request this information somehow? Any technical data you can include would be beneficial.

[b]Reply[/b]
goodsync does not use this MDTM yet, but we plan to add it soon.

this MSTM command is not widely implemented.

GoodSync instead translates FTP server time to actual stored modification time,
but this process is not completely reliable,
so setting mod time is a preferred way.

SFTP does not have this problem, as it transfers mod time correctly both ways[/quote]

Are there any settings in CoreFTP server that I overlooked that might make this process work? Or anything else I could try? If I can get everything working smoothly I would most likely license your product on a handful of servers.
thecapn
Posts: 3
Joined: Wed Apr 09, 2008 4:01 pm

Post by thecapn »

This got tabled for a while, but here's what I found:

When I use CoreFTP LE to upload a file, it will list the the correct modified date and time in the right pane of the client (the one that represents the server) after the upload is complete. However, if I hit refresh it will change this info to the date and time when the file was uploaded.

When I browse to that directory on the server, it always lists the date modified as the time the file was uploaded.

Since the date and time are not being preserved using either client, this indicates that the problem is something in my FTP server configuration or Windows configuration. Let me know if you have any suggestions on what to check or if you need any more information.

Thanks!
thecapn
Posts: 3
Joined: Wed Apr 09, 2008 4:01 pm

Post by thecapn »

I tried uploading a file using Core FTP LE as the client, and Core FTP Server as the server using SSH/SFTP. The filedate was not preserved.

Do you have any idea what settings I should look at?
Post Reply