Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Time not Updating when script runs

We need more information. Your script. How you run it. Some log files...
Squidgy

Time not Updating when script runs

Hello. I have a automated script that transfers files from my server to my PC. I have a python file that zips all my files and puts them in a folder in my server that my script then finds and moves those files.

Every file has the time as a way to tell them apart Ex: afile-2023-08-15.zip.
So to automate this I thought I would use TIMESTAMP. so in my script I have:
afile-%TIMESTAMP#yyyy-mm-dd%.zip
However when I was testing everything I noticed the time did not change from when I last worked on it (also the day I added it). Anyone know why or if there's a better way.
I'm using FTP and I'm on Windows 11.