Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
218 views
in General by (210 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 (8.2k points)
edited by

Yes, you can use the following method:

SSHFTPClient.setModTime(String, Date)
by (210 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

...