Our Products:
CompleteFTP
edtFTPnet/Free
edtFTPnet/PRO
edtFTPj/Free
edtFTPj/PRO
Login
Remember
Google Login
Register
All Activity
Questions
Hot!
Unanswered
Tags
Categories
Ask a Question
Ask a Question
need to preserve modified timestamp
0
votes
333
views
asked
Feb 28, 2020
in
General
by
Ramya M
(
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.
sftp
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 28, 2020
by
stuart
(
9.1k
points)
edited
Mar 2, 2020
by
EDT Support
Yes, you can use the following method:
SSHFTPClient.setModTime
(String, Date)
commented
Mar 2, 2020
by
Ramya M
(
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
Please
log in
or
register
to add a comment.
Categories
All categories
Products
(2.8k)
FAQ
(120)
General
(178)
Feature Requests
(21)
...