login about faq

Friends,

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
21114


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.

link

answered Jun 16 '14 at 17:13

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×131
×12
×8
×3

Asked: Jun 16 '14 at 11:29

Seen: 1,591 times

Last updated: Jun 16 '14 at 17:13

powered by OSQA