"Does Filezilla set the file modified date/time of the file to the remote file 
date/time each upload?"

yes, at both uploads and downloads it puts the time in sync


"If so it won't change if the file on disk has not changed since the last 
upload (the scenario you describe above "... but haven't saved it")."

this sounds logical... "_BUT_"... (**AND** you are right)
if I download a file from the server... the file's last mod time changes...
 .... I wanted to say: _in the critical scenario that time is older than the 
last known "last mod time"..._
but not!
in fact:    in the critical scenario **that time is the same time as it was 
before the edit** 


------------------------------ THIS IS LOGICAL    (I see now!)

**BUT:::::::**

forget my editing without saving it....
I just edited the file on the server using putty (saved it)

downloaded it... with Filezilla... overwriting the local file... 

Geany didn't react... Kate offered the reload...

WHEREAS:
When I did the same thing... 
BUT afterwards "refreshed" the file list in Filezilla... server side... (now 
showing the right last mod time)

after I downloaded the file, overwriting the local one, 
Geany offered the reload and Kate did it too...

------------ NOTES:
Most of the times I had that file "edited" in Filezilla... which meant that 
once it changes on the local disk, 
it will offer to upload...

THEN I turned it off... and restarted Filzeilla without editing the file 
(marking it as being edited) in Filezilla...


THEN (still) clearly...

When I download a new version from the  server... (in Filezilla)

Geany will ONLY react when I reload the server side file list... and see with 
my eye the real last mod date next to the file
Geany in this case will react as expected...
Kate will react as expected regardless of the Filezilla server side file list 
refreshing


----------------------------------------------- bottom line:

the scenario I'm talking about... 
starts with opening Filezilla afresh... (cause it is  anew day, a new working 
session)
and downloading the files from the server (in a given directory)
When this happens... 
Geany will notice the file changes as expected...
so the fact that a file is open in geany since the last working session CANNOT 
cause a sync mistake...



So, we can take this as a "scientific" experiment... without any dissonant 
results :) 


THANK YOU for your help & time!!


Peter





-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3839#issuecomment-2055588790
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3839/2055588...@github.com>

Reply via email to