Board index » delphi » TIdFTP: set file time with upload

TIdFTP: set file time with upload

hi,

i want to automate uploads with Tidftp. so far everything works fine.
But at the monent i do upload files wether they have changed or not. So
i want to know if upload is necessary.

The idea is "if size and date are equal no update is needed". To check
for size is easy, but to check for time has the problem that when i
upload a file, i cant set file time to local file time. Instead filetime
is set to ftpserver time.

Is it possible to set filetime of the uploaded file,  or any other way
to influence file time? Any other ideas to solve the problem?

Thanks
Stefan

 

Re:TIdFTP: set file time with upload


k...@sk-software.de (Stefan Kilp) wrote in <3AE3757C.88490C42@sk-
software.de>:

Quote
>Is it possible to set filetime of the uploaded file,  or any other way
>to influence file time?

Not that I know of.

--
Chad Z. Hower (Kudzu) - Church Hill, TN - Team Indy
      "Programming is an art form that fights back"
Forget the Y2K problem, Lets fix the W2K problem.
http://www.pbe.com/Kudzu/ - Free Delphi/CBuilder components and articles

Other Threads