FTP files preserving the date and time stamp

Four Stars

FTP files preserving the date and time stamp

Hi,

Is there a way to preserve the date and time stamp of the file when its copied onto the remote server. 

I tried both tFTPPut and tSCPPut but they both change the date and timestamp to when its was ftped onto the remote server. 

 

If the file being ftped has a date and time of say  yesterday . i need to keep that date and time when copied/moved onto ftp server. 

 

Thanks

Nawaz.

Forteen Stars

Re: FTP files preserving the date and time stamp

You can use tSystem and rsync with -t option

 

http://stackoverflow.com/questions/14888012/how-to-rsync-a-single-file

-----------
Four Stars

Re: FTP files preserving the date and time stamp

How can i run the command from tsystem without having to enter the password or how can i pass the password of the login that i am using to rsync the files onto remote server. 

 

I can use the scp -p command also to copy the files and preserver date and time but again i don't know how to pass the password to that command either.  

 

Thank you for your suggestion. any help on how to pass the password with either of the command would help

 

 

Forteen Stars

Re: FTP files preserving the date and time stamp

http://stackoverflow.com/questions/3299951/how-to-pass-password-for-rsync-ssh-command

 

I just send a links, because I not a system admin, and personal setup similar scripts by search on stackoverflow

it work

-----------

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

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

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch