[resolved] All file update 'date and time' in ftp

Highlighted
One Star

[resolved] All file update 'date and time' in ftp

Hi,
I'm load data to text and put the file in ftp. I run the job in different date. 
But i have problem when checking the file on ftp, all date and time will update not for current file only. "11/7/2016 1:16:42 PM"
Please refer attachment. Why does this happen? 



Thanks

Accepted Solutions
One Star

Re: [resolved] All file update 'date and time' in ftp

In the file Mask in the ftp directory you are using "MA1_*".txt". This will pull all the files from your local directory. 
1. Either you can create 1 folder under S01_MA1 folder on the local machine and keep the latest file there and copy from there to ftp server. Delete this file at the end of the run
2. Dynamically create the file name dynamically (if it is feasible) and use that in the file mask

All Replies
One Star

Re: [resolved] All file update 'date and time' in ftp

This should not happen. May be you can try to move the older files in a different folder. 
Also please share your job details especially ftp component to get more details around it.
One Star

Re: [resolved] All file update 'date and time' in ftp

Thanks for you feedback. Below is the setting in ftp component for your reference.

One Star

Re: [resolved] All file update 'date and time' in ftp

By any chance in your local directory you have older files too or you only have the latest file?
One Star

Re: [resolved] All file update 'date and time' in ftp

In local directory have older filer too. What should I do?
One Star

Re: [resolved] All file update 'date and time' in ftp

In the file Mask in the ftp directory you are using "MA1_*".txt". This will pull all the files from your local directory. 
1. Either you can create 1 folder under S01_MA1 folder on the local machine and keep the latest file there and copy from there to ftp server. Delete this file at the end of the run
2. Dynamically create the file name dynamically (if it is feasible) and use that in the file mask
One Star

Re: [resolved] All file update 'date and time' in ftp

Thank you very much for your feedback and advice. Smiley Happy

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Enabling Data Governance

Learn how to enable Data Governance

Watch Now

The Definitive Guide to Government Data Quality

Take a peek at the definitive guide to Government Data Quality

Read