Your best friend for file transfer.

Fetch application logoFetch

how to update site folder dates when Mirroring ? (8 posts)

  • Started 3 years ago by acellier
  • Latest reply 3 years ago from Scott McGuire
  • acellier Member

    Is there a way to change site folder dates when the contents are incrementally updated (using Mirror) by Fetch?

    Posted 3 years ago #

  • Scott McGuire Administrator

    Hi,

    Before I try to answer, I'd like to make sure I've understood your question correctly.

    Are you wondering why, after using the Mirror command, the modification dates of folders are not updated to today's date?

    Or something else?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 3 years ago #

  • acellier Member

    Scott - Yes, I've observed that the folders on the server, in which mirrored contents have been changed, retain their original dates. I'm wondering how to update those dates to reflect that (some) contents have changed.

    Posted 3 years ago #

  • Scott McGuire Administrator

    Hi,

    In general, after files have been uploaded to folders - either using the Mirror command, or just by a direct upload - the folders should get updated modification dates (the same day the files were added to them). However, some FTP servers do not show the updated modification dates right away, and unfortunately that's outside the control of Fetch.

    Try the following: after doing a Mirror command, close the Fetch file list window, and then re-connect to the server, and look at the folder dates. Do they appear updated after you reconnect?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 3 years ago #

  • acellier Member

    I did as you suggested. Very interesting - the higher-level folder which contains the folder that I Mirrored into (and also manually edited a file in) IS changed. The Mirrored folder and its subfolders (also Mirrored) are unchanged.

    Posted 3 years ago #

  • Scott McGuire Administrator

    Hi,

    It's possible that the dates for those folders will eventually show as updated as well (but not guaranteed). The problem is that some FTP servers seem to used cached versions of the dates to display folders; it may take a while for the cache to clear and show updated information - which isn't very helpful if you want to know immediately which folders have new stuff in them.

    Fetch is telling the server that it's putting new files into those folders, and then asking the server for an updated file list, so if the servers returns a list that doesn't show updated dates for the folders, there isn't anything Fetch can do about that.

    We have found that servers may show updated folder dates more reliably when using SFTP than with FTP; if making an SFTP connection to your server is an option, you might want to try that instead and see if you get better results.

    Sorry not to have a better answer for you, but as I said, this behavior is out of Fetch's control. Please let us know if you have further questions.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 3 years ago #

  • acellier Member

    Scott - Thank you for the explanations! And i'll try SFTP, too.

    Posted 3 years ago #

  • Scott McGuire Administrator

    Hi,

    You're welcome!

    Best,

    Scott McGuire
    Fetch Softworks

    Posted 3 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.