question

TheKurgan123 avatar image
0 Votes"
TheKurgan123 asked ·

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

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-webapps
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

I understand that files' time stamp changes after upload to the current timestamp. Are you checking this on Kudu console? Could you also describe the issue you are facing due to time stamp.

0 Votes 0 · ·
JeremyBrooks-4731 avatar image
1 Vote"
JeremyBrooks-4731 answered ·

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 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@TheKurgan123, Just checking in to see if the above post helped answer your question. Kindly let us know if you have any further questions on this specific topic, we would be more than happy to assist you. Please do mark the post which was helpful by clicking on ‘Accept Answer’ & ‘Up-Vote’ to help the community find the right answers.

0 Votes 0 · ·
JoffreyNURIT-4769 avatar image
0 Votes"
JoffreyNURIT-4769 answered ·

Hi @TheKurgan123,

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

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.