login about faq


I´m trying the FTP2 software to write an sync local/ftp files. We have any way to maintain the same date+time of uploaded files? I saw that SFTP has a PreserveDate option, does the FTP2 have some option like that?

Sorry by my english! :)

Thanks, Fabio

asked Jun 16 '14 at 11:29

Fabio%20Ferreira's gravatar image

Fabio Ferreira

Chilkat does not automatically do it for two reasons:

  1. Some FTP servers do not support the ability for the client to set the last-modified date/time for a file on the server.
  2. Some applications may not want to preserve the date/time.

Chilkat's decision was to let the programmer decide if the extra step for setting the date/time should be taken.

To preserve the date/time, you may call one of the following methods after doing the upload: SetRemoteFileDateTime, SetRemoteFileDateTimeStr, or SetRemoteFileDt.


answered Jun 16 '14 at 17:13

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jun 16 '14 at 11:29

Seen: 2,754 times

Last updated: Jun 16 '14 at 17:13

powered by OSQA