FileZilla FTP deploy to Asuzre website; How to keep timestamp from updating

UNT_Green30 1 Reputation point
2019-12-03T22:37:12.367+00:00

Hi,
I am using FileZilla to FTPS deploy to an Azure website. However, the file's timestamp keeps changing to the current date/time upon upload. I have already modified FileZilla's "Preserve timestamps" setting.
Thanks,
Green

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,206 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Jeremy Brooks 572 Reputation points Microsoft Employee
    2019-12-13T02:55:57.72+00:00

    I believe this is by design since its up to the server to adhere to that setting for not modifying the timestamp. The Kudu zip API seems to to be more accurate (although not perfect since it seems to assume the local time of location that's uploading the file to be UTC). The images below are from my local machine which is EST but Kudu did the conversion for its time to be 5 hours earlier (ie UTC -> EST).

    Local (EST)
    alt text

    Web app
    alt text

    1 person found this answer helpful.

  2. Joffrey NURIT 211 Reputation points MVP
    2019-12-25T22:40:43.673+00:00

    Hi @UNT_Green30 ,

    The option you use on Filezilla is an option available on some FTP Server, but not all.
    The command are not always available, and when it is, it not always enable.

    You can see this in RFC: https://datatracker.ietf.org/doc/draft-somers-ftp-mfxx/

    Maybe you can "modify" the FTP configuration. But the best way is use Zip deployment. Unzip keep directory structure AND timestamp, like JeremyBrook said.

    Best regards,
    Joffrey

    0 comments No comments