Page 1 of 1

Filezilla and automatic uploading on save.

Posted: 2019-02-06 21:26
by BRoehling
Greetings,

it's 2019 and I ask you why there is no such feature, as uploading a file automatically when I press ctrl+s in my editing program that has opened a file from within filezilla?

When filezilla compares the modifciation date of the file, it should know that the modified file is newer than the original file.

Does Windows write the modification date after the buffer (cache) to write that file is empty? Then it would be safe to auto-upload saved files with the modificated date method without prompting for upload, first, in filezilla client.

Re: Filezilla and automatic uploading on save.

Posted: 2019-02-07 09:20
by botg
Does Windows write the modification date after the buffer (cache) to write that file is empty? Then it would be safe to auto-upload saved files with the modificated date method without prompting for upload, first, in filezilla client.
Yes, Windows changes the modification date, when writing to a file, but that is not safe. It cannot be used to detect when a program has finished writing to a file. Uploading at the wrong time can result in a corrupted file on the server and in some cases even prevent the local editor from finish writing to the file.

Re: Filezilla and automatic uploading on save.

Posted: 2019-02-07 13:11
by BRoehling
See here, I read it and with proper implementation it's possible. :D

https://docs.microsoft.com/en-us/window ... -writefile

Re: Filezilla and automatic uploading on save.

Posted: 2019-02-07 14:23
by botg
No it isn't.

Re: Filezilla and automatic uploading on save.

Posted: 2019-02-07 19:11
by BRoehling
I changed the FTP Program. This takes too long. Bye

Re: Filezilla and automatic uploading on save.

Posted: 2019-02-07 21:17
by botg
Bye bye to you and your data you'll eventually lose.