Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
14 views
in General by (160 points)
I need to preserve modified timestamp of my file while uploading it to SFTP site. I am using com.enterprisedt.net.ftp.ssh.SSHFTPclient for the transfer. Please let me know if there is any way.

1 Answer

0 votes
by (1.5k points)
edited by

Yes, you can use the following method:

SSHFTPClient.setModTime(String, Date)
by (160 points)
So we need to set mod for each files right? Instead of this, shall we set current connection to stick with the original timestamp of an uploaded file

Categories

...