login about faq

I use the FTP2 control with Visual FoxPro and am looking for a simple way to obtain the creation date of a file on a remote server. Was looking through the VFP examples and could not find a way to compare 2 files, one local and 1 remote in order to determine if the remote one is newer and therefore download it overwriting the local one. I’d imagine this is a pretty common usage for updating programs via FTP. I could download it and then compare but there must be a way to get just the file create date and time?

asked Sep 25 '12 at 12:49

chilkat's gravatar image

chilkat ♦♦
11.8k316358421


See the online reference documentation. Specifically, see the GetCreateTimeByName method here: http://www.chilkatsoft.com/refdoc/xChilkatFtp2Ref.html

link

answered Sep 25 '12 at 12:51

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
×8
×6

Asked: Sep 25 '12 at 12:49

Seen: 1,703 times

Last updated: Sep 25 '12 at 12:51

powered by OSQA