I need help creating a script that only take's files modified today.
Hello,
What you will have to do is something like; get today's day with:
Then compare the two, example:
Zythan
What you will have to do is something like; get today's day with:
Code: Select all
Then get the date information for the remote file:$current_day=GETDATE(DAY)
Code: Select all
Extract from the variable $file_last_modification_time; the day (user the TEXTCUT command)$file_last_modification_time=GETFILETIME(REMOTE,$remote_file)
Then compare the two, example:
Code: Select all
HTH.IF($file_last_modification_day==$current_day)
Zythan
Thank you Zythan
liked Script FTP? Try our other product Email Parser